FontWeight Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. documentanalysis. models. FontWeight
- com.
- com.
public final class FontWeight
extends ExpandableStringEnum<FontWeight>
Font weight.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Font |
BOLD
Characters are represented with thicker strokes. |
static final
Font |
NORMAL
Characters are represented normally. |
Constructor Summary
Constructor | Description |
---|---|
FontWeight() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Font |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Font |
fromString(String name)
Creates or finds a Font |
static
Collection<Font |
values()
Gets known Font |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BOLD
public static final FontWeight BOLD
Characters are represented with thicker strokes.
NORMAL
public static final FontWeight NORMAL
Characters are represented normally.
Constructor Details
FontWeight
@Deprecated
public FontWeight()
Deprecated
Creates a new instance of FontWeight value.
Method Details
fromString
public static FontWeight fromString(String name)
Creates or finds a FontWeight from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known FontWeight values.
Returns: