Lucee Function Reference
Function IMAGEDRAWLINES
Draws a sequence of connected lines defined by arrays of x and y coordinates.
Example
imagedrawlines(any name,array xcoords,array ycoords,[boolean isPolygon,[boolean filled]]):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| name | any | Yes | The image on which this operation is performed. |
| xcoords | array | Yes | A array of x coordinates. |
| ycoords | array | Yes | A array of y coordinates. |
| isPolygon | boolean | No |
Specify whether the lines form a polygon: |
| filled | boolean | No |
Specify whether the polygon is filled: |