Documentation of 'de.erichseifert.gral.plots.colors.ContinuousColorMapper' Java class
ContinuousColorMapper
de.erichseifert.gral.plots.colors

Class ContinuousColorMapper

  • All Implemented Interfaces:
    ColorMapper, java.io.Serializable
    Direct Known Subclasses:
    ScaledContinuousColorMapper


    public abstract class ContinuousColorMapper
    extends AbstractColorMapper<java.lang.Double>
    Class that maps floating point numbers to Paint objects. This can be used to generate colors or gradients for various elements in a plot, e.g. lines, areas, etc.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract java.awt.Paint get(double value)
      Returns the Paint object according to the specified value.
      java.awt.Paint get(java.lang.Number value)
      Returns the Paint object according to the specified value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContinuousColorMapper

        public ContinuousColorMapper()
    • Method Detail

      • get

        public abstract java.awt.Paint get(double value)
        Returns the Paint object according to the specified value.
        Parameters:
        value - Numeric value.
        Returns:
        Paint object.
      • get

        public java.awt.Paint get(java.lang.Number value)
        Returns the Paint object according to the specified value. The specified value will be handled like a double value.
        Parameters:
        value - Numeric value object.
        Returns:
        Paint object.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.