ChartDirector 6.0 (PHP Edition)
DrawArea.polygon
Usage
Description
Arguments
| Argument | Default | Description |
|---|---|---|
| points | (Mandatory) | An array of points representing the vertices of a polygon. A single point is an array containing two numbers, representing the x and y coordinates. |
| edgeColor | (Mandatory) | The border color. To disable border, set the edgeColor the same as the fillColor. |
| fillColor | (Mandatory) | The fill color. To disable filling, set the fillColor to Transparent. |
Return Value