public enum ColorEncoding extends java.lang.Enum<ColorEncoding>
| Modifier and Type | Method and Description |
|---|---|
long |
getValue()
Get numeric value of color encoding.
|
static ColorEncoding |
parse(long value)
Parse encoding of color from numeric value of color encoding.
|
static ColorEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorEncoding RGB888
public static final ColorEncoding BGR888
public static ColorEncoding[] values()
for (ColorEncoding c : ColorEncoding.values()) System.out.println(c);
public static ColorEncoding 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 long getValue()
public static ColorEncoding parse(long value)
value - numeric value of color encoding.