Lucee object methods reference
Object Method Image.drawDrawLines
Draws a sequence of connected lines defined by arrays of x and y coordinates.
Image.drawDrawLines(array xcoords,array ycoords,[boolean isPolygon,[boolean filled]]):image
Kategorie
image
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
| Name | Typ | Required | Beschreibung |
|---|---|---|---|
| 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: |