public class ColorMapper
extends java.lang.Object
Constructor and Description |
---|
ColorMapper()
Initializes the color map with RGB color values
in order from blue to red.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(double min,
double max,
double value)
Takes a range (min, max) and maps the specified value
to a corresponding RGB value.
|