public static enum AlgorithmicColorRamp.Algorithm extends java.lang.Enum<AlgorithmicColorRamp.Algorithm>
Enum Constant and Description |
---|
CIE_LAB
Blends the from and to colors without traversing the intervening hue space.
|
HSV
The hue, saturation, value (hsv) algorithm is a linear traverse of colors between pairs:
Color 1 H to Color 2 H, Color 1 S to Color 2 S, and Color 1 V to Color 2 V.
|
LAB_LCH
The lab-lch algorithm is very similar to the cie-lab but does not seek the shortest path
between colors.
|
NOT_SET |
Modifier and Type | Method and Description |
---|---|
static AlgorithmicColorRamp.Algorithm |
get(java.lang.String a) |
java.lang.String |
getValue() |
static AlgorithmicColorRamp.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlgorithmicColorRamp.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlgorithmicColorRamp.Algorithm NOT_SET
public static final AlgorithmicColorRamp.Algorithm CIE_LAB
public static final AlgorithmicColorRamp.Algorithm HSV
public static final AlgorithmicColorRamp.Algorithm LAB_LCH
public static AlgorithmicColorRamp.Algorithm[] values()
for (AlgorithmicColorRamp.Algorithm c : AlgorithmicColorRamp.Algorithm.values()) System.out.println(c);
public static AlgorithmicColorRamp.Algorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static AlgorithmicColorRamp.Algorithm get(java.lang.String a)