public enum TextAntiAlias extends Enum<TextAntiAlias>
| Enum Constant and Description |
|---|
DEFAULT
No change to default anti-aliasing settings for text elements.
|
GASP
Anti-aliasing is specified by a TrueType font's GASP (Grid-fitting and Scan Conversion Procedure) table.
|
OFF
Anti-aliasing is disabled for text elements.
|
ON
Anti-aliasing is enabled for text elements.
|
| Modifier and Type | Method and Description |
|---|---|
static TextAntiAlias |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAntiAlias[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAntiAlias DEFAULT
public static final TextAntiAlias ON
public static final TextAntiAlias OFF
public static final TextAntiAlias GASP
public static TextAntiAlias[] values()
for (TextAntiAlias c : TextAntiAlias.values()) System.out.println(c);
public static TextAntiAlias 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 null