public static enum GStroke.Cap extends Enum<GStroke.Cap>
Enum Constant and Description |
---|
BUTT
The "butt" is the default cap, cut off in the middle of the end point.
|
ROUND
The "round" cap, ends with a rounded shape around the end point.
|
SQUARE
The "square" cap, ends with a square around the end point.
|
Modifier and Type | Method and Description |
---|---|
static GStroke.Cap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GStroke.Cap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GStroke.Cap BUTT
public static final GStroke.Cap ROUND
public static final GStroke.Cap SQUARE
public static GStroke.Cap[] values()
for (GStroke.Cap c : GStroke.Cap.values()) System.out.println(c);
public static GStroke.Cap 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 nulliizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.