public enum ColorModesEnum extends Enum<ColorModesEnum>
Represents the psd file format color modes.
Enum Constant and Description |
---|
Bitmap
The bitmap color mode.
|
Cmyk
CMYK color mode.
|
Duotone
Duotone color mode.
|
Grayscale
The grayscale mode.
|
Indexed
Indexed color mode.
|
Lab
Lab color mode.
|
Multichannel
Multichannel color mode.
|
Rgb
RGB color mode.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static ColorModesEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorModesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorModesEnum Bitmap
The bitmap color mode.
public static final ColorModesEnum Grayscale
The grayscale mode.
public static final ColorModesEnum Indexed
Indexed color mode.
public static final ColorModesEnum Rgb
RGB color mode.
public static final ColorModesEnum Cmyk
CMYK color mode.
public static final ColorModesEnum Multichannel
Multichannel color mode.
public static final ColorModesEnum Duotone
Duotone color mode.
public static final ColorModesEnum Lab
Lab color mode.
public static ColorModesEnum[] values()
for (ColorModesEnum c : ColorModesEnum.values()) System.out.println(c);
public static ColorModesEnum 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()