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

Class RandomColors

    • Constructor Summary

      Constructors 
      Constructor and Description
      RandomColors()
      Creates a new RandomColors object with default seed.
      RandomColors(long seed)
      Creates a new instances with the specified seed.
    • 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

      • RandomColors

        public RandomColors()
        Creates a new RandomColors object with default seed.
      • RandomColors

        public RandomColors(long seed)
        Creates a new instances with the specified seed.
        Parameters:
        seed - Random number seed.
    • 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.
      • 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.