Enum Constant and Description |
---|
UNSIGNED_BYTE |
UNSIGNED_SHORT_4_4_4_4 |
UNSIGNED_SHORT_5_5_5_1 |
UNSIGNED_SHORT_5_6_5 |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static PixelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelType UNSIGNED_BYTE
public static final PixelType UNSIGNED_SHORT_4_4_4_4
public static final PixelType UNSIGNED_SHORT_5_5_5_1
public static final PixelType UNSIGNED_SHORT_5_6_5
public static PixelType[] values()
for (PixelType c : PixelType.values()) System.out.println(c);
public static PixelType 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