public static enum GradientTexturePaint.Cycle extends Enum<GradientTexturePaint .Cycle >
| Modifier and Type | Method and Description |
|---|---|
static GradientTexturePaint |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static GradientTexturePaint |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GradientTexturePaint.Cycle LOOP
public static final GradientTexturePaint.Cycle NONE
public static final GradientTexturePaint.Cycle TILE
public static GradientTexturePaint.Cycle [] values()
for (GradientTexturePaint.Cycle c : GradientTexturePaint.Cycle.values()) System.out.println(c);
public static GradientTexturePaint.Cycle 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