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

A array of x coordinates.

ycoords
array, required

A array of y coordinates.

isPolygon
boolean, optional

Specify whether the lines form a polygon:

  • true: The lines are connected to form a polygon.
  • false (default): The lines do not form a polygon.
filled
boolean, optional

Specify whether the polygon is filled:

  • true: The polygon is filled with the specified drawing color.
  • false (default): Only the outline of the polygon is drawn.

Examples

There are currently no examples for this function

See also