public static enum GradientBase.Spread extends java.lang.Enum<GradientBase.Spread>
| Enum Constant | 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 | Description |
|---|---|---|
static GradientBase.Spread |
valueOf(java.lang.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(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 nullCopyright © 2009–2022. All rights reserved.