public enum PixelFormat extends Enum<PixelFormat> implements IEnumWithValue
| Enum Constant and Description |
|---|
ALPHA
Discards the red, green and blue components and reads the alpha component.
|
RGB
Discards the alpha components and reads the red, green and blue components.
|
RGBA
Red, green, blue and alpha components are read from the color buffer.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static PixelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final PixelFormat ALPHA
public static final PixelFormat RGB
public static final PixelFormat RGBA
public static PixelFormat[] values()
for (PixelFormat c : PixelFormat.values()) System.out.println(c);
public static PixelFormat 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.