public class TwoToneAbsoluteColorMapping extends Object implements ColorMapping
| Constructor and Description |
|---|
TwoToneAbsoluteColorMapping() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColorFromValue(double value,
double minValue,
double maxValue)
This returns a color based on the given value.
|
public Color getColorFromValue(double value, double minValue, double maxValue)
ColorMappinggetColorFromValue in interface ColorMappingvalue - the value you want to assign to a colorminValue - the minimum value possiblemaxValue - the maximum value possibleCopyright © 2019. All rights reserved.