public enum TiffThresholdsEnum extends Enum<TiffThresholdsEnum>
Thresholding used on data.
Enum Constant and Description |
---|
ErrorDiffuse
Usually Floyd-Steinberg.
|
HalfTone
Dithered scan.
|
NoDithering
No dithering is performed.
|
Modifier and Type | Method and Description |
---|---|
static TiffThresholdsEnum |
getByValue(int value) |
int |
getValue()
Gets the value of enum.
|
static TiffThresholdsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TiffThresholdsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TiffThresholdsEnum NoDithering
No dithering is performed.
public static final TiffThresholdsEnum HalfTone
Dithered scan.
public static final TiffThresholdsEnum ErrorDiffuse
Usually Floyd-Steinberg.
public static TiffThresholdsEnum[] values()
for (TiffThresholdsEnum c : TiffThresholdsEnum.values()) System.out.println(c);
public static TiffThresholdsEnum 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 TiffThresholdsEnum getByValue(int value)