public static enum Path2D.CornerPrefix extends java.lang.Enum<Path2D.CornerPrefix>
| Enum Constant and Description |
|---|
CORNER_ONLY |
LINE_THEN_CORNER |
MOVE_THEN_CORNER |
| Modifier and Type | Method and Description |
|---|---|
static Path2D.CornerPrefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Path2D.CornerPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Path2D.CornerPrefix CORNER_ONLY
public static final Path2D.CornerPrefix MOVE_THEN_CORNER
public static final Path2D.CornerPrefix LINE_THEN_CORNER
public static Path2D.CornerPrefix[] values()
for (Path2D.CornerPrefix c : Path2D.CornerPrefix.values()) System.out.println(c);
public static Path2D.CornerPrefix 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