|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NioImageBuffer.ImageType>
javax.media.ding3d.NioImageBuffer.ImageType
public static enum NioImageBuffer.ImageType
Used to specify the type of the image.
| Enum Constant Summary | |
|---|---|
TYPE_3BYTE_BGR
Represents an image with 8-bit RGB color components, corresponding to a Windows-style BGR color model, with the colors Blue, Green, and Red stored in 3 consecutive bytes for each pixel. |
|
TYPE_3BYTE_RGB
Represents an image with 8-bit RGB color components with Red, Green, and Blue, stored in 3 consecutive bytes for each pixel. |
|
TYPE_4BYTE_ABGR
Represents an image with 8-bit RGBA color components with Alpha, Blue, Green, and Red stored in 4 consecutive bytes for each pixel. |
|
TYPE_4BYTE_RGBA
Represents an image with 8-bit RGBA color components with Red, Green, Blue, and Alpha stored in 4 consecutive bytes for each pixel. |
|
TYPE_BYTE_GRAY
Represents a unsigned byte grayscale image, non-indexed. |
|
TYPE_INT_ARGB
Represents an image with 8-bit RGBA color components packed into integer pixels. |
|
TYPE_INT_BGR
Represents an image with 8-bit RGB color components, corresponding to a Windows- or Solaris- style BGR color model, with the colors Blue, Green, and Red packed into integer pixels. |
|
TYPE_INT_RGB
Represents an image with 8-bit RGB color components packed into integer pixels. |
|
| Method Summary | |
|---|---|
static NioImageBuffer.ImageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NioImageBuffer.ImageType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 NioImageBuffer.ImageType TYPE_3BYTE_BGR
public static final NioImageBuffer.ImageType TYPE_3BYTE_RGB
public static final NioImageBuffer.ImageType TYPE_4BYTE_ABGR
public static final NioImageBuffer.ImageType TYPE_4BYTE_RGBA
public static final NioImageBuffer.ImageType TYPE_BYTE_GRAY
public static final NioImageBuffer.ImageType TYPE_INT_ARGB
public static final NioImageBuffer.ImageType TYPE_INT_BGR
public static final NioImageBuffer.ImageType TYPE_INT_RGB
| Method Detail |
|---|
public static NioImageBuffer.ImageType[] values()
for (NioImageBuffer.ImageType c : NioImageBuffer.ImageType.values()) System.out.println(c);
public static NioImageBuffer.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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||