Package io.anyline2.core
Enum AnylineImage.ColorFormat
- java.lang.Object
-
- java.lang.Enum<AnylineImage.ColorFormat>
-
- io.anyline2.core.AnylineImage.ColorFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnylineImage.ColorFormat>
- Enclosing class:
- AnylineImage
public static enum AnylineImage.ColorFormat extends java.lang.Enum<AnylineImage.ColorFormat>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnylineImage.ColorFormat
swigToEnum(int swigValue)
int
swigValue()
static AnylineImage.ColorFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnylineImage.ColorFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RGB
public static final AnylineImage.ColorFormat RGB
-
BGR
public static final AnylineImage.ColorFormat BGR
-
BGRA
public static final AnylineImage.ColorFormat BGRA
-
RGBA
public static final AnylineImage.ColorFormat RGBA
-
YUV
public static final AnylineImage.ColorFormat YUV
-
GRAY
public static final AnylineImage.ColorFormat GRAY
-
-
Method Detail
-
values
public static AnylineImage.ColorFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnylineImage.ColorFormat c : AnylineImage.ColorFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnylineImage.ColorFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static AnylineImage.ColorFormat swigToEnum(int swigValue)
-
-