|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawer
The interface Drawer allows to provide to the Tilling geometries a way to draw the ropes. By implementing this interface one can add effect to the final output.
Method Summary | |
---|---|
void |
fillPolygon(int[] rgbColor,
double[] coordinateX,
double[] coordinateY,
int dotNumber)
Draw a closed shape using dotNumber record in the coordinateX and coordinateY filled with color rgbColor. |
void |
singleLine(int[] rgbColor,
double[] start,
double[] end)
Draw a line from the position start to the position end with color rgbColor. |
void |
strockPolyLine(int[] rgbColor,
double[] coordinateX,
double[] coordinateY,
int dotNumber)
Draw a polyline using dotNumber record in the coordinateX and coordinateY strocked with color rgbColor. |
Method Detail |
---|
void singleLine(int[] rgbColor, double[] start, double[] end)
rgbColor
- the color define by 3 integer [Red, Gree, Blue] each one ranging in 0-255.start
- the position [coordonate X, coordonate Y] of the begining of the line.end
- the position [coordonate X, coordonate Y] of the end of the line.void fillPolygon(int[] rgbColor, double[] coordinateX, double[] coordinateY, int dotNumber)
rgbColor
- the color define by 3 integer [Red, Gree, Blue] each one ranging in 0-255.coordinateX
- the horizontal position of the dots defining the shape.coordinateY
- the vertical position of the dots defining the shape.dotNumber
- the number of relevent records stored into the coordinates fields.void strockPolyLine(int[] rgbColor, double[] coordinateX, double[] coordinateY, int dotNumber)
rgbColor
- the color define by 3 integer [Red, Gree, Blue] each one ranging in 0-255.coordinateX
- the horizontal position of the dots defining the polyline.coordinateY
- the vertical position of the dots defining the polyline.dotNumber
- the number of relevent records stored into the coordinates fields.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |