public static enum PolylineStyle.CapStyle extends Enum<PolylineStyle.CapStyle>
Enum Constant and Description |
---|
BUTT
The line ends with a straight line, at its end vertex
|
ROUND
The line ends with a semicircle around its end vertex
|
SQUARE
The line ends with a straight line, half its width
from its end vertex
|
Modifier and Type | Method and Description |
---|---|
static PolylineStyle.CapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolylineStyle.CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolylineStyle.CapStyle BUTT
public static final PolylineStyle.CapStyle SQUARE
public static final PolylineStyle.CapStyle ROUND
public static PolylineStyle.CapStyle[] values()
for (PolylineStyle.CapStyle c : PolylineStyle.CapStyle.values()) System.out.println(c);
public static PolylineStyle.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