public enum FontSavingFormats extends Enum<FontSavingFormats>
Specifies Font type.
| Enum Constant and Description |
|---|
OTF
OpenType Font.
|
SVG
SVG(Scalable Vector Graphics) Font format
|
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 final FontSavingFormats SVG
SVG(Scalable Vector Graphics) Font format
public static final FontSavingFormats OTF
OpenType Font. OpenType Font format is an extension of the TrueType Font format, adding support for PostScript Font data.
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 nullCopyright © 2025 Aspose. All Rights Reserved.