public class RainbowColors extends ScaledContinuousColorMapper
ColorMapper.Mode
Constructor and Description |
---|
RainbowColors() |
Modifier and Type | Method and Description |
---|---|
Paint |
get(double value)
Returns the Paint according to the specified value.
|
void |
setMode(ColorMapper.Mode mode)
Sets how values outside of the mapping range will be handled.
|
equals, getOffset, getScale, hashCode, scale, setOffset, setRange, setScale
applyMode, get
getMode
public Paint get(double value)
get
in class ContinuousColorMapper
value
- Value of color.public void setMode(ColorMapper.Mode mode)
AbstractColorMapper
setMode
in class AbstractColorMapper<Double>
mode
- Handling of values outside of the mapping range.Copyright © 2009-2013. All Rights Reserved.