public enum PolylineType extends Enum<PolylineType> implements Enumeration
| Enum Constant and Description | 
|---|
LINE_STRIP
After the first position, each additional position defines a line segment from the previous position to the
current position. 
 | 
LINES
Every two positions define a line segment. 
 | 
POINTS
Lines are drawn as points. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PolylineType | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static PolylineType | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static PolylineType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PolylineType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final PolylineType LINES
public static final PolylineType LINE_STRIP
public static final PolylineType POINTS
public static PolylineType[] values()
for (PolylineType c : PolylineType.values()) System.out.println(c);
public static PolylineType 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 nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static PolylineType getFromValue(int value)
value - a numeric value.@Nonnull public static PolylineType getDefault()