public enum FontType extends Enum<FontType>
Specifies Font type.
| Enum Constant and Description |
|---|
CFF
CFF (Compact font format) Font type.
|
OTF
OpenType Font.
|
TTF
TTF (TrueType) Font type and related.
|
Type1
Type1 Font type.
|
| Modifier and Type | Method and Description |
|---|---|
static FontType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontType TTF
TTF (TrueType) Font type and related.
public static final FontType Type1
Type1 Font type.
public static final FontType CFF
CFF (Compact font format) Font type.
public static final FontType OTF
OpenType Font. OpenType Font format is an extension of the TrueType Font format, adding support for PostScript Font data.
public static FontType[] values()
for (FontType c : FontType.values()) System.out.println(c);
public static FontType 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.