GraphicsDrawPolygon Method (Pen, Point)

Draws a polygon defined by an array of Point structures.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.5.0.0 (20.05.0)
Syntax
C#
public void DrawPolygon(
	Pen pen,
	Point[] points
)

Parameters

pen
Type: System.DrawingPen
Pen that determines the color, width, and style of the polygon.
points
Type: System.DrawingPoint
Array of Point structures that represent the vertices of the polygon.
See Also