Enum Class VipsBandFormat
- All Implemented Interfaces:
VEnum
,VNamedEnum
,Serializable
,Comparable<VipsBandFormat>
,Constable
The format used for each band element.
Each corresponds to a native C type for the current machine. For example,
FORMAT_USHORT
is <type>unsigned short</type>.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionchar formatcomplex (two floats) formatdouble float formatdouble complex (two double) formatfloat formatint formatinvalid settingshort formatunsigned char formatunsigned int formatunsigned short format -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
static VipsBandFormat
Returns the enum constant of this class with the specified name.static VipsBandFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORMAT_NOTSET
invalid setting
-
FORMAT_UCHAR
unsigned char format
-
FORMAT_CHAR
char format
-
FORMAT_USHORT
unsigned short format
-
FORMAT_SHORT
short format
-
FORMAT_UINT
unsigned int format
-
FORMAT_INT
int format
-
FORMAT_FLOAT
float format
-
FORMAT_COMPLEX
complex (two floats) format
-
FORMAT_DOUBLE
double float format
-
FORMAT_DPCOMPLEX
double complex (two double) format
-
FORMAT_LAST
-
-
Field Details
-
parentName
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Specified by:
getName
in interfaceVNamedEnum
-
getNickname
- Specified by:
getNickname
in interfaceVNamedEnum
-
getRawValue
public int getRawValue()- Specified by:
getRawValue
in interfaceVEnum
-