public enum COLOR_SPACE extends Enum<COLOR_SPACE> implements jnr.ffi.util.EnumMapper.IntegerEnum
| Enum Constant and Description |
|---|
OPJ_CLRSPC_CMYK
< e-YCC
|
OPJ_CLRSPC_EYCC
< YUV
|
OPJ_CLRSPC_GRAY
< sRGB
|
OPJ_CLRSPC_SRGB
< not specified in the codestream
|
OPJ_CLRSPC_SYCC
< grayscale
|
OPJ_CLRSPC_UNKNOWN |
OPJ_CLRSPC_UNSPECIFIED
< not supported by the library
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue() |
static COLOR_SPACE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static COLOR_SPACE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final COLOR_SPACE OPJ_CLRSPC_UNKNOWN
public static final COLOR_SPACE OPJ_CLRSPC_UNSPECIFIED
public static final COLOR_SPACE OPJ_CLRSPC_SRGB
public static final COLOR_SPACE OPJ_CLRSPC_GRAY
public static final COLOR_SPACE OPJ_CLRSPC_SYCC
public static final COLOR_SPACE OPJ_CLRSPC_EYCC
public static final COLOR_SPACE OPJ_CLRSPC_CMYK
public static COLOR_SPACE[] values()
for (COLOR_SPACE c : COLOR_SPACE.values()) System.out.println(c);
public static COLOR_SPACE 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 int intValue()
intValue in interface jnr.ffi.util.EnumMapper.IntegerEnumCopyright © 2018. All rights reserved.