public enum LineCapStyle extends java.lang.Enum<LineCapStyle>
| Enum Constant and Description |
|---|
Flat
Specifies the end of the line is flat.
|
Round
Specifies the end of the line is rounded.
|
Square
Specifies the end of the line is capped with a square shape.
|
| Modifier and Type | Method and Description |
|---|---|
static LineCapStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineCapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineCapStyle Flat
public static final LineCapStyle Square
public static final LineCapStyle Round
public static LineCapStyle[] values()
for (LineCapStyle c : LineCapStyle.values()) System.out.println(c);
public static LineCapStyle 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