public static enum MapRoute.RenderType extends java.lang.Enum<MapRoute.RenderType>
MapRoute#setColor(int)
Enum Constant and Description |
---|
CUSTOM
Custom color.
|
PRIMARY
Default primary color of a route.
|
SECONDARY
Secondary color for alternate routes.
|
Modifier and Type | Method and Description |
---|---|
int |
value() |
static MapRoute.RenderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapRoute.RenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapRoute.RenderType PRIMARY
public static final MapRoute.RenderType SECONDARY
public static final MapRoute.RenderType CUSTOM
public static MapRoute.RenderType[] values()
for (MapRoute.RenderType c : MapRoute.RenderType.values()) System.out.println(c);
public static MapRoute.RenderType 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 int value()