Serializable, Comparable<ShapeElement.Orientation>public static enum ShapeElement.Orientation extends Enum<ShapeElement.Orientation>
| 枚举常量 | 说明 |
|---|---|
BOTTOM_END_TO_TOP_START |
Indicates that the gradient effect is from the lower end corner to the upper start corner.
|
BOTTOM_LEFT_TO_TOP_RIGHT |
Indicates that the gradient effect is from the lower left corner to the upper right corner.
|
BOTTOM_RIGHT_TO_TOP_LEFT |
Indicates that the gradient effect is from the lower right corner to the upper left corner.
|
BOTTOM_START_TO_TOP_END |
Indicates that the gradient effect is from the lower start corner to the upper end corner.
|
BOTTOM_TO_TOP |
Indicates that the gradient effect is from bottom to top.
|
END_TO_START |
Indicates that the gradient effect is from end to start.
|
LEFT_TO_RIGHT |
Indicates that the gradient effect is from left to right.
|
RIGHT_TO_LEFT |
Indicates that the gradient effect is from right to left.
|
START_TO_END |
Indicates that the gradient effect is from start to end.
|
TOP_END_TO_BOTTOM_START |
Indicates that the gradient effect is from the upper end corner to lower start corner.
|
TOP_LEFT_TO_BOTTOM_RIGHT |
Indicates that the gradient effect is from the upper left corner to the lower right corner.
|
TOP_RIGHT_TO_BOTTOM_LEFT |
Indicates that the gradient effect is from the upper right corner to lower left corner.
|
TOP_START_TO_BOTTOM_END |
Indicates that the gradient effect is from the upper start corner to lower end corner.
|
TOP_TO_BOTTOM |
Indicates that the gradient effect is from top to bottom.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static ShapeElement.Orientation |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static ShapeElement.Orientation[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (ShapeElement.Orientation c : ShapeElement.Orientation.values()) System.out.println(c); |
public static final ShapeElement.Orientation TOP_TO_BOTTOM
public static final ShapeElement.Orientation TOP_RIGHT_TO_BOTTOM_LEFT
public static final ShapeElement.Orientation RIGHT_TO_LEFT
public static final ShapeElement.Orientation BOTTOM_RIGHT_TO_TOP_LEFT
public static final ShapeElement.Orientation BOTTOM_TO_TOP
public static final ShapeElement.Orientation BOTTOM_LEFT_TO_TOP_RIGHT
public static final ShapeElement.Orientation LEFT_TO_RIGHT
public static final ShapeElement.Orientation TOP_LEFT_TO_BOTTOM_RIGHT
public static final ShapeElement.Orientation TOP_START_TO_BOTTOM_END
public static final ShapeElement.Orientation START_TO_END
public static final ShapeElement.Orientation BOTTOM_START_TO_TOP_END
public static final ShapeElement.Orientation BOTTOM_END_TO_TOP_START
public static final ShapeElement.Orientation END_TO_START
public static final ShapeElement.Orientation TOP_END_TO_BOTTOM_START
public static ShapeElement.Orientation[] values()
for (ShapeElement.Orientation c : ShapeElement.Orientation.values()) System.out.println(c);
public static ShapeElement.Orientation valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值