public static enum TextureData.ColorSpace extends Enum<TextureData.ColorSpace>
Modifier and Type | Method and Description |
---|---|
static TextureData.ColorSpace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextureData.ColorSpace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureData.ColorSpace RGB
public static final TextureData.ColorSpace YCbCr
public static final TextureData.ColorSpace YCCK
public static final TextureData.ColorSpace CMYK
public static TextureData.ColorSpace[] values()
for (TextureData.ColorSpace c : TextureData.ColorSpace.values()) System.out.println(c);
public static TextureData.ColorSpace 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 nullCopyright 2010 JogAmp Community.