public enum ShapeGradientOrientation extends java.lang.Enum<ShapeGradientOrientation>
| Enum Constant and Description |
|---|
BL_TR
从左下角到右上角绘制渐变
|
BOTTOM_TOP
从下到上绘制渐变
|
BR_TL
从右下角到左上角绘制渐变
|
LEFT_RIGHT
从左到右绘制渐变
|
RIGHT_LEFT
从右到左绘制渐变
|
TL_BR
从左上角到右下角绘制渐变
|
TOP_BOTTOM
从上到下绘制渐变
|
TR_BL
从右上角到左下角绘制渐变
|
| Modifier and Type | Method and Description |
|---|---|
static ShapeGradientOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeGradientOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeGradientOrientation TR_BL
public static final ShapeGradientOrientation RIGHT_LEFT
public static final ShapeGradientOrientation BR_TL
public static final ShapeGradientOrientation BOTTOM_TOP
public static final ShapeGradientOrientation BL_TR
public static final ShapeGradientOrientation LEFT_RIGHT
public static final ShapeGradientOrientation TL_BR
public static final ShapeGradientOrientation TOP_BOTTOM
public static ShapeGradientOrientation[] values()
for (ShapeGradientOrientation c : ShapeGradientOrientation.values()) System.out.println(c);
public static ShapeGradientOrientation 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 null