Serializable, Comparable<Path.AddPathMode>public static enum Path.AddPathMode extends Enum<Path.AddPathMode>
| 枚举常量 | 说明 |
|---|---|
APPEND_ADD_PATH_MODE |
Indicates that a path is added without any connections.
|
EXTEND_ADD_PATH_MODE |
Indicates that a a straight line is added between the last point of this
Path and the start point of
the source path. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
value() |
Obtains the enumeration identifier of the modes of adding a path to another path.
|
static Path.AddPathMode |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static Path.AddPathMode[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (Path.AddPathMode c : Path.AddPathMode.values()) System.out.println(c); |
public static final Path.AddPathMode APPEND_ADD_PATH_MODE
public static final Path.AddPathMode EXTEND_ADD_PATH_MODE
Path and the start point of
the source path.public static Path.AddPathMode[] values()
for (Path.AddPathMode c : Path.AddPathMode.values()) System.out.println(c);
public static Path.AddPathMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int value()