Graphics.DrawPolygon

DrawPolygon(Pen, Point[])

Draws a polygon defined by an array of Point structures.

public void DrawPolygon(Pen pen, Point[] points)
ParameterTypeDescription
penPenPen that determines the color, width, and style of the polygon.
pointsPoint[]Array of Point structures that represent the vertices of the polygon.

See Also


DrawPolygon(Pen, PointF[])

Draws a polygon defined by an array of PointF structures.

public void DrawPolygon(Pen pen, PointF[] points)
ParameterTypeDescription
penPenPen that determines the color, width, and style of the polygon.
pointsPointF[]Array of PointF structures that represent the vertices of the polygon.

See Also