public final class GradientStyle
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DIAGONAL_DOWN
Diagonal gradient moving from a top corner down to the opposite corner.
|
static int |
DIAGONAL_UP
Diagonal gradient moving from a bottom corner up to the opposite corner.
|
static int |
FROM_CENTER
Gradient running from the center out to the corners.
|
static int |
FROM_CORNER
Gradient running from a corner to the other three corners.
|
static int |
HORIZONTAL
Gradient running horizontally across an object.
|
static int |
length |
static int |
NONE
No gradient.
|
static int |
VERTICAL
Gradient running vertically down an object.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String gradientStyleName) |
static java.lang.String |
getName(int gradientStyle) |
static int[] |
getValues() |
static java.lang.String |
toString(int gradientStyle) |
public static final int NONE
public static final int HORIZONTAL
public static final int VERTICAL
public static final int DIAGONAL_UP
public static final int DIAGONAL_DOWN
public static final int FROM_CORNER
public static final int FROM_CENTER
public static final int length