public abstract class ArrayColorMapping extends Object implements ColorMapping
| Constructor and Description |
|---|
ArrayColorMapping() |
| Modifier and Type | Method and Description |
|---|---|
abstract Color |
getColorFromIndex(int index) |
Color |
getColorFromValue(double v,
double minValue,
double maxValue)
This returns a color based on the given value.
|
protected Color |
getNaNColor() |
protected Color |
getOverflowColor() |
protected Color |
getUnderflowColor() |
public Color getColorFromValue(double v, double minValue, double maxValue)
ColorMappinggetColorFromValue in interface ColorMappingv - the value you want to assign to a colorminValue - the minimum value possiblemaxValue - the maximum value possibleprotected Color getNaNColor()
protected Color getOverflowColor()
protected Color getUnderflowColor()
public abstract Color getColorFromIndex(int index)
Copyright © 2019. All rights reserved.