ChartDirector 5.1 (.NET Edition)

DrawArea.polygon


Usage

[VB] Public Sub polygon(points() As Object, edgeColor As Integer, fillColor As Integer)
[C#] public void polygon(Object[] points, int edgeColor, int 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