public interface ColorMap
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(double a)
Returns an interpolated color
|
void |
getHSV(double a,
byte[] hsv)
Fills an array with the interpolated color values
in HSV format
|
void |
getHSV(double a,
double[] hsv)
Fills an array with the interpolated color values
in HSV format
|
void |
getHSV(double a,
float[] hsv)
Fills an array with the interpolated color values
in HSV format
|
void |
getRGB(double a,
byte[] rgb)
Fills an array with the interpolated color values
in RGB format
|
void |
getRGB(double a,
double[] rgb)
Fills an array with the interpolated color values
in RGB format
|
void |
getRGB(double a,
float[] rgb)
Fills an array with the interpolated color values
in RGB format
|
java.awt.Color getColor(double a)
a
- input, usually in the range [0,1]void getRGB(double a, double[] rgb)
a
- input, usually in the range [0,1]rgb
- output colorvoid getRGB(double a, float[] rgb)
a
- input, usually in the range [0,1]rgb
- output colorvoid getRGB(double a, byte[] rgb)
a
- input, usually in the range [0,1]rgb
- output colorvoid getHSV(double a, double[] hsv)
a
- input, usually in the range [0,1]hsv
- output colorvoid getHSV(double a, float[] hsv)
a
- input, usually in the range [0,1]hsv
- output colorvoid getHSV(double a, byte[] hsv)
a
- input, usually in the range [0,1]hsv
- output color