|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.plots.colors.QuasiRandomColors
public class QuasiRandomColors
Class that generates seemingly random colors.
Constructor Summary | |
---|---|
QuasiRandomColors()
Creates a new QuasiRandomColors object with default color variance. |
Method Summary | |
---|---|
Color |
get(double value)
Returns the Color according to the specified 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 |
---|
public QuasiRandomColors()
Method Detail |
---|
public Color get(double value)
ColorMapper
get
in interface ColorMapper
value
- Value of color.
public float[] getColorVariance()
public void setColorVariance(float[] colorVariance)
colorVariance
- Range of hue, saturation and brightness a color can have.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |