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