public enum FontFormat extends Enum<FontFormat>
| Enum Constant and Description |
|---|
OTF
OpenType font.
|
PFB
Type 1 (binary) font.
|
TTF
TrueType font.
|
| Modifier and Type | Method and Description |
|---|---|
static FontFormat |
valueOf(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(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 © 2002–2016 The Apache Software Foundation. All rights reserved.