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
Static value bold for Font |
static final
Font |
NORMAL
Static value normal for Font |
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
Static value bold for FontWeight.
NORMAL
public static final FontWeight NORMAL
Static value normal for FontWeight.
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:
Applies to
Azure SDK for Java
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk