Package 

Class ColorMappingVariation

  • 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
      void init(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 scalar
        scalarEnd - end of scalar
        start - start of one HSL value
        end - end of one HSL value