|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImageFormat>
com.flagstone.transform.image.ImageFormat
public enum ImageFormat
ImageFormat is used to represent the different formats for lossless images.
Enum Constant Summary | |
---|---|
IDX8
The opaque image contains a colour table with 256 entries. |
|
IDXA
The transparent image contains a colour table with 256 entries. |
|
RGB5
The opaque image is a true colour image, with the values for the red, green and blue colour channels represented by a 5-bit number. |
|
RGB8
The opaque image is a true colour image, with the values for the red, green and blue colour channels represented by a 8-bit number. |
|
RGBA
The transparent image is a true colour image, with the values for the red, green, blue and alpha channels represented by a 8-bit number. |
Method Summary | |
---|---|
static ImageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ImageFormat IDX8
public static final ImageFormat IDXA
public static final ImageFormat RGB5
public static final ImageFormat RGB8
public static final ImageFormat RGBA
Method Detail |
---|
public static ImageFormat[] values()
for (ImageFormat c : ImageFormat.values()) System.out.println(c);
public static ImageFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |