public enum CapStyle extends Enum<CapStyle> implements Key
| Enum Constant and Description |
|---|
BUTT
The ends of lines are squared off at the end points.
Default. |
ROUND
The ends of lines are rounded.
|
SQUARE
The ends of lines are squared off by adding a box with an equal width and half the height of the line's thickness.
|
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Returns the name value of property
|
static CapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcheckAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValidpublic static final CapStyle BUTT
public static final CapStyle ROUND
public static final CapStyle SQUARE
public static CapStyle[] values()
for (CapStyle c : CapStyle.values()) System.out.println(c);
public static CapStyle 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 null