public enum BitmapFormat extends java.lang.Enum<BitmapFormat>
{AFB2BF39-8B1E-4F9F-8948-D1B887F83EB0}
Enum Constant and Description |
---|
BGR
Generic BGR format without alpha channel.
|
BGR0
4 bytes per pixel: B, G, R, 0.
|
BGRA
4 bytes per pixel: B, G, R, A.
|
JPEG
JPEG image.
|
Opaque
Unknown buffer format (the user may not assume any particular format of
the buffer).
|
PNG
PNG image.
|
RGBA
4 bytes per pixel: R, G, B, A.
|
Modifier and Type | Method and Description |
---|---|
static BitmapFormat |
fromValue(long v) |
static BitmapFormat |
fromValue(java.lang.String v) |
int |
value() |
static BitmapFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitmapFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitmapFormat Opaque
public static final BitmapFormat BGR
public static final BitmapFormat BGR0
public static final BitmapFormat BGRA
public static final BitmapFormat RGBA
public static final BitmapFormat PNG
public static final BitmapFormat JPEG
public static BitmapFormat[] values()
for (BitmapFormat c : BitmapFormat.values()) System.out.println(c);
public static BitmapFormat 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 value()
public static BitmapFormat fromValue(long v)
public static BitmapFormat fromValue(java.lang.String v)