public enum ColorSpaces extends java.lang.Enum<ColorSpaces>
Enum Constant and Description |
---|
CalGray |
CalRGB |
CMYK |
DeviceCMYK |
DeviceGray |
DeviceN |
DeviceRGB |
G |
I |
ICCBased |
Indexed |
Lab |
Pattern |
RGB |
Separation |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
label
Name of the ColorSpace
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
void |
setLabel(java.lang.String label) |
static ColorSpaces |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorSpaces[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorSpaces Lab
public static final ColorSpaces CalRGB
public static final ColorSpaces CalGray
public static final ColorSpaces DeviceN
public static final ColorSpaces Indexed
public static final ColorSpaces I
public static final ColorSpaces Pattern
public static final ColorSpaces ICCBased
public static final ColorSpaces DeviceRGB
public static final ColorSpaces RGB
public static final ColorSpaces DeviceGray
public static final ColorSpaces G
public static final ColorSpaces DeviceCMYK
public static final ColorSpaces CMYK
public static final ColorSpaces Separation
public static ColorSpaces[] values()
for (ColorSpaces c : ColorSpaces.values()) System.out.println(c);
public static ColorSpaces 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 java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the label to set