public abstract class ContinuousColorMapper extends AbstractColorMapper<Double>
ColorMapper.Mode
Constructor and Description |
---|
ContinuousColorMapper() |
Modifier and Type | Method and Description |
---|---|
protected Double |
applyMode(Double value,
Double rangeMin,
Double rangeMax)
Transforms a value outside of the mapping range.
|
abstract Paint |
get(double value)
Returns the Paint object according to the specified value.
|
Paint |
get(Number value)
Returns the Paint object according to the specified value.
|
getMode, setMode
public abstract Paint get(double value)
value
- Numeric value.public Paint get(Number value)
value
- Numeric value object.protected Double applyMode(Double value, Double rangeMin, Double rangeMax)
AbstractColorMapper
applyMode
in class AbstractColorMapper<Double>
value
- Value to be handled.rangeMin
- Lower bounds of rangerangeMax
- Upper bounds of rangeCopyright © 2009-2013. All Rights Reserved.