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