TextStyle Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<TextStyle> - com.
microsoft. azure. cognitiveservices. vision. computervision. models. TextStyle
- com.
- com.
public class TextStyle
Defines values for TextStyle.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Text |
HANDWRITING
Static value handwriting for TextStyle. |
final Text |
OTHER
Static value other for TextStyle. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Text |
fromString(String name)
Creates or finds a TextStyle from its string representation. |
Collection<Text |
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
Returns:
known TextStyle values
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java