Class Draw

    • Field Detail

      • m_LayerColorMappings

        protected BaseKeyValuePair[] m_LayerColorMappings
        the layer/color mappings.
      • m_Alpha

        protected float m_Alpha
        the alpha value to use.
    • Constructor Detail

      • Draw

        public Draw()
    • Method Detail

      • setLayerColorMappings

        public void setLayerColorMappings​(BaseKeyValuePair[] value)
        Sets the mappings of label/color (in hex notation).
        Parameters:
        value - the mappings
      • getLayerColorMappings

        public BaseKeyValuePair[] getLayerColorMappings()
        Returns the mappings of label/color (in hex notation).
        Returns:
        the mappings
      • layerColorMappingsTipText

        public String layerColorMappingsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setAlpha

        public void setAlpha​(float value)
        Sets the alpha value to use for the overlays (0: transparent, 1: opaque).
        Parameters:
        value - the alpha value
      • getAlpha

        public float getAlpha()
        Returns the alpha value to use for the overlays (0: transparent, 1: opaque).
        Returns:
        the alpha value
      • alphaTipText

        public String alphaTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.