ChartDirector 7.0 (Perl Edition)

DrawArea.polygon


Usage

polygon(points, edgeColor, fillColor)

Description

Draws a polygon.

Arguments

ArgumentDefaultDescription
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

None