public enum SmoothingMode extends Enum<SmoothingMode>
Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.
Enum Constant and Description |
---|
AntiAlias
Specifies antialiased rendering.
|
Default
Specifies no antialiasing.
|
HighQuality
Specifies antialiased rendering.
|
HighSpeed
Specifies no antialiasing.
|
Invalid
Specifies an invalid mode.
|
None
Specifies no antialiasing.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static SmoothingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmoothingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmoothingMode Invalid
Specifies an invalid mode.
public static final SmoothingMode Default
Specifies no antialiasing.
public static final SmoothingMode HighSpeed
Specifies no antialiasing.
public static final SmoothingMode HighQuality
Specifies antialiased rendering.
public static final SmoothingMode None
Specifies no antialiasing.
public static final SmoothingMode AntiAlias
Specifies antialiased rendering.
public static SmoothingMode[] values()
for (SmoothingMode c : SmoothingMode.values()) System.out.println(c);
public static SmoothingMode 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 getType()