|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BitmapFormat>
org.virtualbox_5_2.BitmapFormat
public enum BitmapFormat
Format of a bitmap. Generic values for formats used by the source bitmap, the screen shot or image update APIs. Interface ID: {AFB2BF39-8B1E-4F9F-8948-D1B887F83EB0}
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static BitmapFormat fromValue(long v)
public static BitmapFormat fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |