|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Interpolation>
com.flagstone.transform.fillstyle.Interpolation
public enum Interpolation
Interpolation describes how the transition between colours in a gradient are calculated.
| Enum Constant Summary | |
|---|---|
LINEAR
Linear RGBA interpolation. |
|
NORMAL
Normal RGBA interpolation. |
|
| Method Summary | |
|---|---|
static Interpolation |
fromInt(int value)
Returns the Interpolation for a given type. |
int |
getValue()
Get the value used to represent the Interpolation when it is encoded. |
static Interpolation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Interpolation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Interpolation NORMAL
public static final Interpolation LINEAR
| Method Detail |
|---|
public static Interpolation[] values()
for (Interpolation c : Interpolation.values()) System.out.println(c);
public static Interpolation 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 nullpublic static Interpolation fromInt(int value)
value - the type that identifies the Interpolation when it is encoded.
public int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||