public static enum MapPolygon.CapStyle extends java.lang.Enum<MapPolygon.CapStyle>
MapPolygon.CapStyle represents line ending cap rendering styles.| Enum Constant and Description |
|---|
BUTT
The line ends exactly where the endpoint is located.
|
ROUND
Adding a round cap to the endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
static MapPolygon.CapStyle |
toCapStyle(int style) |
int |
value() |
static MapPolygon.CapStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapPolygon.CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapPolygon.CapStyle BUTT
public static final MapPolygon.CapStyle ROUND
public static MapPolygon.CapStyle[] values()
for (MapPolygon.CapStyle c : MapPolygon.CapStyle.values()) System.out.println(c);
public static MapPolygon.CapStyle 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 nullpublic static MapPolygon.CapStyle toCapStyle(int style)
public int value()