|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface PaintAlgorithm specifies an algorithm
that may be used to define a TexturePaint object; this
algorithm should return a Color for each x,y pixel
position; this algorithm should be periodic in both the x and y
directions.
| Method Summary | |
Color |
color(int x,
int y)
Returns the Color at pixel position
(x, y). |
int |
xPeriod()
The x-period which should be positive. |
int |
yPeriod()
The y-period which should be positive. |
| Method Detail |
public Color color(int x,
int y)
Returns the Color at pixel position
(x, y).
This function should be periodic
in both the x and y directions with
period xPeriod() in x and
period yPeriod() in y.
public int xPeriod()
public int yPeriod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||