|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
ObjectEnum<ColorQuantization>
ColorQuantization
ImageWorker.
@Deprecated public enum ColorQuantization
Kinds of Color Quantization to be applied in some ImageWorker method calls.
Those enums can be used as the value of the ImageWorker.COLOR_QUANTIZATION
rendering hint.
| coverage/geotk-coverage (download) | View source code for this class |
| Enum Constant Summary | |
|---|---|
ERROR_DIFFUSION
Deprecated. Color quantization by finding the nearest color to each pixel in a color map and "diffusing" the color quantization error below and to the right of the pixel. |
|
ORDERED_DITHER
Deprecated. Color quantization by finding the nearest color to each pixel in a color cube and "shifting" the resulting index value by a pseudo-random amount determined by the values of a dither mask. |
|
| Method Summary | |
|---|---|
static ColorQuantization |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static ColorQuantization[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ColorQuantization ERROR_DIFFUSION
ErrorDiffusionDescriptorpublic static final ColorQuantization ORDERED_DITHER
OrderedDitherDescriptor| Method Detail |
|---|
public static ColorQuantization[] values()
for (ColorQuantization c : ColorQuantization.values()) System.out.println(c);
public static ColorQuantization valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||