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

Class QuasiRandomColors

  • All Implemented Interfaces:
    ColorMapper, java.io.Serializable


    public class QuasiRandomColors
    extends IndexedColorMapper
    Class that generates seemingly random colors for specified index values.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      QuasiRandomColors()
      Creates a new QuasiRandomColors object with default color variance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.awt.Paint get(int index)
      Returns the Paint associated to the specified index value.
      float[] getColorVariance()
      Returns the current color variance.
      void setColorVariance(float[] colorVariance)
      Sets the current color variance.
      • Methods inherited from class java.lang.Object

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

      • QuasiRandomColors

        public QuasiRandomColors()
        Creates a new QuasiRandomColors object with default color variance.
    • Method Detail

      • get

        public java.awt.Paint get(int index)
        Returns the Paint associated to the specified index value.
        Specified by:
        get in class IndexedColorMapper
        Parameters:
        index - Numeric index.
        Returns:
        Paint object.
      • getColorVariance

        public float[] getColorVariance()
        Returns the current color variance.
        Returns:
        Range of hue, saturation and brightness a color can have.
      • setColorVariance

        public void setColorVariance(float[] colorVariance)
        Sets the current color variance.
        Parameters:
        colorVariance - Range of hue, saturation and brightness a color can have.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.