image.drawDrawLines()
Draws a sequence of connected lines defined by arrays of x and y coordinates.
image.drawDrawLines( xcoords=array, ycoords=array, isPolygon=boolean, filled=boolean )
Returns: Image
| Argument | Description |
|---|---|
|
xcoords
array,
required
|
edit
A array of x coordinates. |
|
ycoords
array,
required
|
edit
A array of y coordinates. |
|
isPolygon
boolean,
optional
|
edit
Specify whether the lines form a polygon:
|
|
filled
boolean,
optional
|
edit
Specify whether the polygon is filled:
|