public static enum VideoMode.PixelFormat extends java.lang.Enum<VideoMode.PixelFormat>
Enum Constant and Description |
---|
kBGR |
kGray |
kMJPEG |
kRGB565 |
kUnknown |
kYUYV |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static VideoMode.PixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoMode.PixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoMode.PixelFormat kUnknown
public static final VideoMode.PixelFormat kMJPEG
public static final VideoMode.PixelFormat kYUYV
public static final VideoMode.PixelFormat kRGB565
public static final VideoMode.PixelFormat kBGR
public static final VideoMode.PixelFormat kGray
public static VideoMode.PixelFormat[] values()
for (VideoMode.PixelFormat c : VideoMode.PixelFormat.values()) System.out.println(c);
public static VideoMode.PixelFormat 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 getValue()