public enum AntiAliasing extends Enum<AntiAliasing> implements Enumeration
Enum Constant and Description |
---|
EIGHT_X
Anti-aliasing at 8x
|
FOUR_X
Anti-aliasing at 4x
|
FXAA
Fast Approximate Anti aliasing
|
OFF
No anti-aliasing
|
SIXTEEN_X
Anti-aliasing at 16x
|
SIXTY_FOUR_X
Anti-aliasing at 64x
|
THIRTY_TWO_X
Anti-aliasing at 32x
|
TWO_X
Anti-aliasing at 2x
|
Modifier and Type | Method and Description |
---|---|
static AntiAliasing |
getDefault()
Get the enum constant that is considered to be the default.
|
static AntiAliasing |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static AntiAliasing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AntiAliasing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntiAliasing OFF
public static final AntiAliasing FXAA
public static final AntiAliasing TWO_X
public static final AntiAliasing FOUR_X
public static final AntiAliasing EIGHT_X
public static final AntiAliasing SIXTEEN_X
public static final AntiAliasing THIRTY_TWO_X
public static final AntiAliasing SIXTY_FOUR_X
public static AntiAliasing[] values()
for (AntiAliasing c : AntiAliasing.values()) System.out.println(c);
public static AntiAliasing 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static AntiAliasing getFromValue(int value)
value
- a numeric value.@Nonnull public static AntiAliasing getDefault()