public static enum GradientPattern.CoordinateMode extends Enum<GradientPattern.CoordinateMode>
Modifier and Type | Field and Description |
---|---|
heronarts.lx.pattern.color.GradientPattern.CoordinateFunction |
function |
heronarts.lx.pattern.color.GradientPattern.CoordinateFunction |
invert |
String |
name |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static GradientPattern.CoordinateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientPattern.CoordinateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientPattern.CoordinateMode NORMAL
public static final GradientPattern.CoordinateMode CENTER
public static final GradientPattern.CoordinateMode RADIAL
public final String name
public final heronarts.lx.pattern.color.GradientPattern.CoordinateFunction function
public final heronarts.lx.pattern.color.GradientPattern.CoordinateFunction invert
public static GradientPattern.CoordinateMode[] values()
for (GradientPattern.CoordinateMode c : GradientPattern.CoordinateMode.values()) System.out.println(c);
public static GradientPattern.CoordinateMode 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 String toString()
toString
in class Enum<GradientPattern.CoordinateMode>
LX library by Mark C. Slee. © 2012-2020