public enum FontSavingFormats extends Enum<FontSavingFormats>
Specifies Font type.
Enum Constant and Description |
---|
TTF
TTF (TrueType) Font format.
|
WOFF
WOFF(Web Open Font Format).
|
WOFF2
WOFF File Format 2.0
|
Modifier and Type | Method and Description |
---|---|
static FontSavingFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontSavingFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontSavingFormats TTF
TTF (TrueType) Font format.
public static final FontSavingFormats WOFF
WOFF(Web Open Font Format).
public static final FontSavingFormats WOFF2
WOFF File Format 2.0
public static FontSavingFormats[] values()
for (FontSavingFormats c : FontSavingFormats.values()) System.out.println(c);
public static FontSavingFormats valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null