public class QuasiRandomColors extends IndexedColorMapper
ColorMapper.Mode
Constructor and Description |
---|
QuasiRandomColors()
Creates a new QuasiRandomColors object with default color variance.
|
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.
|
applyMode, get
getMode, setMode
public QuasiRandomColors()
public java.awt.Paint get(int index)
get
in class IndexedColorMapper
index
- Numeric index.public float[] getColorVariance()
public void setColorVariance(float[] colorVariance)
colorVariance
- Range of hue, saturation and brightness a color
can have.