java.io.Serializable, java.lang.Comparable<FontFormat>public enum FontFormat extends java.lang.Enum<FontFormat>
| Enum Constant | Description |
|---|---|
OTF |
OpenType font.
|
PFB |
Type 1 (binary) font.
|
TTF |
TrueType font.
|
| Modifier and Type | Method | Description |
|---|---|---|
static FontFormat |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FontFormat[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontFormat TTF
public static final FontFormat OTF
public static final FontFormat PFB
public static FontFormat[] values()
for (FontFormat c : FontFormat.values()) System.out.println(c);
public static FontFormat 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 nullCopyright © 2002–2018. All rights reserved.