public static enum TGAHeader.ImageType extends java.lang.Enum<TGAHeader.ImageType>
Enum Constant and Description |
---|
NO_IMAGE_DATA |
RUNLENGTH_BLACK_AND_WHITE |
RUNLENGTH_COLOR_MAPPED |
RUNLENGTH_TRUE_COLOR |
UNCOMPRESSED_BLACK_AND_WHITE |
UNCOMPRESSED_COLOR_MAPPED |
UNCOMPRESSED_TRUE_COLOR |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static TGAHeader.ImageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TGAHeader.ImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TGAHeader.ImageType NO_IMAGE_DATA
public static final TGAHeader.ImageType UNCOMPRESSED_COLOR_MAPPED
public static final TGAHeader.ImageType UNCOMPRESSED_TRUE_COLOR
public static final TGAHeader.ImageType UNCOMPRESSED_BLACK_AND_WHITE
public static final TGAHeader.ImageType RUNLENGTH_COLOR_MAPPED
public static final TGAHeader.ImageType RUNLENGTH_TRUE_COLOR
public static final TGAHeader.ImageType RUNLENGTH_BLACK_AND_WHITE
public static TGAHeader.ImageType[] values()
for (TGAHeader.ImageType c : TGAHeader.ImageType.values()) System.out.println(c);
public static TGAHeader.ImageType 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 int code()