Class FontStyle
java.lang.Object
com.azure.core.util.ExpandableStringEnum<FontStyle>
com.azure.ai.formrecognizer.documentanalysis.models.FontStyle
Font style.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontStyle
fromString
(String name) Creates or finds a FontStyle from its string representation.static Collection<FontStyle>
values()
Gets known FontStyle values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NORMAL
Static value normal for FontStyle. -
ITALIC
Static value italic for FontStyle.
-
-
Constructor Details
-
FontStyle
Deprecated.Use thefromString(String)
factory method.Creates a new instance of FontStyle value.
-
-
Method Details
-
fromString
Creates or finds a FontStyle from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding FontStyle.
-
values
Gets known FontStyle values.- Returns:
- known FontStyle values.
-
fromString(String)
factory method.