ChartDirector 7.1 (.NET Edition)

DrawArea.polygon


Usage

[C#]public void polygon(Object[] points, int edgeColor, int fillColor);
[VB]Public Sub polygon(points() As Object, edgeColor As Integer, fillColor As Integer)

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