java.lang.Objectjava.lang.Enum<MultipleGradientPaint.ColorSpaceType>
java.awt.MultipleGradientPaint.ColorSpaceType
public static enum MultipleGradientPaint.ColorSpaceType
The color space in which to perform the gradient interpolation.
Enum Constant Summary | |
---|---|
LINEAR_RGB
Indicates that the color interpolation should occur in linearized RGB space. |
|
SRGB
Indicates that the color interpolation should occur in sRGB space. |
Method Summary | |
---|---|
static MultipleGradientPaint.ColorSpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MultipleGradientPaint.ColorSpaceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MultipleGradientPaint.ColorSpaceType SRGB
public static final MultipleGradientPaint.ColorSpaceType LINEAR_RGB
Method Detail |
---|
public static MultipleGradientPaint.ColorSpaceType[] values()
for (MultipleGradientPaint.ColorSpaceType c : MultipleGradientPaint.ColorSpaceType.values()) System.out.println(c);
public static MultipleGradientPaint.ColorSpaceType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null