public enum ColorSpaces extends Enum<ColorSpaces>
Enum Constant and Description |
---|
CalGray |
CalRGB |
CMYK |
DeviceCMYK |
DeviceGray |
DeviceN |
DeviceRGB |
G |
I |
ICCBased |
Indexed |
Lab |
Pattern |
RGB |
Separation |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
void |
setLabel(String label) |
static ColorSpaces |
valueOf(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 String label
public static ColorSpaces[] values()
for (ColorSpaces c : ColorSpaces.values()) System.out.println(c);
public static ColorSpaces 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 String getLabel()
public void setLabel(String label)
label
- the label to setCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.