public static enum Path2D.CornerPrefix extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.