public static enum GradientBase.Spread extends Enum<GradientBase.Spread>
| Enum Constant and Description |
|---|
PAD
the gradient color at the endpoint of the vector defines how the gradient is continued beyond that point
|
REFLECT
the gradient continues from end to start and then from start to end again and again.
|
REPEAT
the gradient pattern is repeated from start to end over and over again.
|
| Modifier and Type | Method and Description |
|---|---|
static GradientBase.Spread |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientBase.Spread[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientBase.Spread PAD
public static final GradientBase.Spread REFLECT
public static final GradientBase.Spread REPEAT
public static GradientBase.Spread[] values()
for (GradientBase.Spread c : GradientBase.Spread.values()) System.out.println(c);
public static GradientBase.Spread 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 nullCopyright © 2009–2017. All rights reserved.