public static enum DTIColorComputer.Format extends java.lang.Enum<DTIColorComputer.Format>
Enum Constant and Description |
---|
GRAYSCALE
1-byte grayscale
|
GRAYSCALE_ALPHA
2-byte grayscale-alpha
|
RGB
3-byte RGB
|
RGBA
4-byte RGBA
|
Modifier and Type | Method and Description |
---|---|
static DTIColorComputer.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DTIColorComputer.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DTIColorComputer.Format GRAYSCALE
public static final DTIColorComputer.Format GRAYSCALE_ALPHA
public static final DTIColorComputer.Format RGB
public static final DTIColorComputer.Format RGBA
public static DTIColorComputer.Format[] values()
for (DTIColorComputer.Format c : DTIColorComputer.Format.values()) System.out.println(c);
public static DTIColorComputer.Format 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 null