FontStyle Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. documentanalysis. models. FontStyle
- com.
- com.
public final class FontStyle
extends ExpandableStringEnum<FontStyle>
Font style.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Font |
ITALIC
Characters are visually slanted to the right. |
static final
Font |
NORMAL
Characters are represented normally. |
Constructor Summary
Constructor | Description |
---|---|
FontStyle() |
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
ITALIC
public static final FontStyle ITALIC
Characters are visually slanted to the right.
NORMAL
public static final FontStyle NORMAL
Characters are represented normally.
Constructor Details
FontStyle
@Deprecated
public FontStyle()
Deprecated
Creates a new instance of FontStyle value.
Method Details
fromString
public static FontStyle fromString(String name)
Creates or finds a FontStyle from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known FontStyle values.
Returns: