public static enum GpxDrawHelper.ColorMode extends java.lang.Enum<GpxDrawHelper.ColorMode>
Enum Constant and Description |
---|
DIRECTION
Color by traveling direction
|
HDOP
Color by accuracy
|
HEATMAP
Color using a heatmap instead of normal lines
|
NONE
No special colors
|
QUALITY
Color by quality (RTKLib)
|
TIME
Color by time
|
VELOCITY
Color by velocity
|
Modifier and Type | Method and Description |
---|---|
(package private) static GpxDrawHelper.ColorMode |
fromIndex(int index) |
(package private) int |
toIndex() |
static GpxDrawHelper.ColorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GpxDrawHelper.ColorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpxDrawHelper.ColorMode NONE
public static final GpxDrawHelper.ColorMode VELOCITY
public static final GpxDrawHelper.ColorMode HDOP
public static final GpxDrawHelper.ColorMode DIRECTION
public static final GpxDrawHelper.ColorMode TIME
public static final GpxDrawHelper.ColorMode HEATMAP
public static final GpxDrawHelper.ColorMode QUALITY
public static GpxDrawHelper.ColorMode[] values()
for (GpxDrawHelper.ColorMode c : GpxDrawHelper.ColorMode.values()) System.out.println(c);
public static GpxDrawHelper.ColorMode 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 nullstatic GpxDrawHelper.ColorMode fromIndex(int index)
int toIndex()