Draws a polygon specified using an array of points.
Syntax

[C#]

void DrawPolygon(Pen pen, Point[] points);
void DrawPolygon(Pen pen, PointF[] points);

[Visual Basic]

Sub DrawPolygon(pen As Pen, points As Point())
Sub DrawPolygon(pen As Pen, points As PointF())
Params
Name Description
pen The pen to use for drawing the lines.
points Array of points representing the corners of the polygon.
Notes

None.

Example

None.