public enum TJPF extends Enum<TJPF> implements jnr.ffi.util.EnumMapper.IntegerEnum
| Enum Constant and Description |
|---|
TJPF_AGBR |
TJPF_ARGB |
TJPF_BGR |
TJPF_BGRA |
TJPF_BGRX |
TJPF_GRAY |
TJPF_RGB |
TJPF_RGBA |
TJPF_RGBX |
TJPF_XBGR |
TJPF_XRGB |
| Modifier and Type | Method and Description |
|---|---|
static TJPF |
fromImageType(int imageType) |
int |
intValue() |
static TJPF |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TJPF[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TJPF TJPF_RGB
public static final TJPF TJPF_BGR
public static final TJPF TJPF_RGBX
public static final TJPF TJPF_BGRX
public static final TJPF TJPF_XBGR
public static final TJPF TJPF_XRGB
public static final TJPF TJPF_GRAY
public static final TJPF TJPF_RGBA
public static final TJPF TJPF_BGRA
public static final TJPF TJPF_AGBR
public static final TJPF TJPF_ARGB
public static TJPF[] values()
for (TJPF c : TJPF.values()) System.out.println(c);
public static TJPF valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TJPF fromImageType(int imageType)
public int intValue()
intValue in interface jnr.ffi.util.EnumMapper.IntegerEnumCopyright © 2018. All rights reserved.