|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorMap
Method Summary | |
---|---|
java.awt.Color |
getColor(double a)
Returns an interpolated color |
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,
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 |
Method Detail |
---|
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 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 color
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |