public enum TiffAlphaStorageEnum extends Enum<TiffAlphaStorageEnum>
Specifies the alpha storage for tiff documents.
Enum Constant and Description |
---|
Associated
The alpha value is stored in premultiplied form.
|
Unassociated
The alpha value is stored in unassociated form.
|
Unspecified
The alpha is not specified and stored in the tiff file.
|
Modifier and Type | Method and Description |
---|---|
static TiffAlphaStorageEnum |
getByValue(int value) |
int |
getValue()
Gets the value of enum.
|
static TiffAlphaStorageEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiffAlphaStorageEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiffAlphaStorageEnum Unspecified
The alpha is not specified and stored in the tiff file.
public static final TiffAlphaStorageEnum Associated
The alpha value is stored in premultiplied form. When alpha is restored there may be some rounding effects and restored value may be different from the original.
public static final TiffAlphaStorageEnum Unassociated
The alpha value is stored in unassociated form. That means that alpha restored is exactly the same as it was stored to the tiff.
public static TiffAlphaStorageEnum[] values()
for (TiffAlphaStorageEnum c : TiffAlphaStorageEnum.values()) System.out.println(c);
public static TiffAlphaStorageEnum 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 getValue()
public static TiffAlphaStorageEnum getByValue(int value)