public static enum Font.Format extends java.lang.Enum<Font.Format>
Enum Constant and Description |
---|
OTF_CFF
Font-format constant indicating that the font is an OpenType font
with Compact Font Format (CFF) data (no TrueType outlines).
|
OTF_TRUETYPE
Font-format constant indicating that the font is an OpenType font
with TrueType outlines.
|
TRUETYPE
Font-format constant indicating that the font is a TrueType font.
|
TYPE1
Font-format constant indicating that the font is a Type1 font.
|
Modifier and Type | Method and Description |
---|---|
static Font.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Font.Format TYPE1
public static final Font.Format TRUETYPE
public static final Font.Format OTF_TRUETYPE
public static final Font.Format OTF_CFF
public static Font.Format[] values()
for (Font.Format c : Font.Format.values()) System.out.println(c);
public static Font.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullThis documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.