-
- All Implemented Interfaces:
-
org.osmdroid.views.overlay.advancedpolyline.ColorMapping
public abstract class ColorMappingVariation extends ColorMappingForScalar
Abstract base class for color variation mappings.
-
-
Method Summary
Modifier and Type Method Description voidinit(float scalarStart, float scalarEnd, float start, float end)Init function will be called from sub classes. -
Methods inherited from class org.osmdroid.views.overlay.advancedpolyline.ColorMappingForScalar
add, getColorForIndex -
Methods inherited from class org.osmdroid.views.overlay.advancedpolyline.ColorMapping
getColorForIndex -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
init
void init(float scalarStart, float scalarEnd, float start, float end)
Init function will be called from sub classes.
- Parameters:
scalarStart- start of scalarscalarEnd- end of scalarstart- start of one HSL valueend- end of one HSL value
-
-
-
-