Delen via


TextStyle Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<TextStyle>
      • com.microsoft.azure.cognitiveservices.vision.computervision.models.TextStyle

public class TextStyle

Defines values for TextStyle.

Field Summary

Modifier and Type Field and Description
final TextStyle HANDWRITING

Static value handwriting for TextStyle.

final TextStyle OTHER

Static value other for TextStyle.

Method Summary

Modifier and Type Method and Description
TextStyle fromString(String name)

Creates or finds a TextStyle from its string representation.

Collection<TextStyle> values()

Field Details

HANDWRITING

public static final TextStyle HANDWRITING= fromString("handwriting")

Static value handwriting for TextStyle.

OTHER

public static final TextStyle OTHER= fromString("other")

Static value other for TextStyle.

Method Details

fromString

public static TextStyle fromString(String name)

Creates or finds a TextStyle from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding TextStyle

values

public static Collection values()

Returns:

known TextStyle values

Applies to