public enum ColorMode extends java.lang.Enum<ColorMode>
GUID.UID_REC_COLOR_MODE
Enum Constant and Description |
---|
COLOR
Color mode Color
|
GRAYSCALE
Color mode Grayscale
|
LINEART
Color mode LineArt
|
Modifier and Type | Method and Description |
---|---|
static ColorMode |
find(int id) |
int |
getID() |
java.lang.String |
toString() |
static ColorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorMode LINEART
public static final ColorMode GRAYSCALE
public static final ColorMode COLOR
public static ColorMode[] values()
for (ColorMode c : ColorMode.values()) System.out.println(c);
public static ColorMode 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 static ColorMode find(int id)
public int getID()
public java.lang.String toString()
toString
in class java.lang.Enum<ColorMode>
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.