DrawPolygon Method
DrawPolygon(Pen, Point[])
Draws a polygon defined by an array of Point structures.
Declaration
public void DrawPolygon(Pen pen, Point[] points)
Parameters
Type | Name | Description |
---|---|---|
Pen | pen | Pen that determines the color, width, and style of the polygon. |
Point[] | points | Array of Point structures that represent the vertices of the polygon. |