public enum AntialiasingType extends java.lang.Enum<AntialiasingType>
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getAAHintForSwingComponent() |
static java.lang.Object |
getKeyForCurrentScope(boolean inEditor) |
java.lang.Object |
getTextInfo() |
java.lang.String |
toString() |
static java.awt.font.FontRenderContext |
updateContext(java.awt.font.FontRenderContext context,
boolean inEditor)
Updates antialiasing hint value in the given context according to application's global antialiasing settings
|
static AntialiasingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntialiasingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntialiasingType SUBPIXEL
public static final AntialiasingType GREYSCALE
public static final AntialiasingType OFF
public static AntialiasingType[] values()
for (AntialiasingType c : AntialiasingType.values()) System.out.println(c);
public static AntialiasingType 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 nullpublic static java.lang.Object getAAHintForSwingComponent()
public static java.lang.Object getKeyForCurrentScope(boolean inEditor)
public static java.awt.font.FontRenderContext updateContext(java.awt.font.FontRenderContext context, boolean inEditor)
public java.lang.Object getTextInfo()
public java.lang.String toString()
toString
in class java.lang.Enum<AntialiasingType>