|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColorFunction
This interface is used to define a color function. A color function is used for drawing gradients.
| Method Summary | |
|---|---|
double |
max()
Returns the maximum position of the function. |
double |
min()
Returns the minimum position of the function. |
ScenicColor |
value(double x)
Returns the color value at the given position. |
| Method Detail |
|---|
ScenicColor value(double x)
x - the argument.
double min()
double max()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||