GraphicsDrawPolygon Method (Pen, Point)
Draws a polygon defined by an array of Point structures.

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public void DrawPolygon(
	Pen pen,
	Point[] points
)

Parameters

pen
Type: Aspose.PSDPen
Pen that determines the color, width, and style of the polygon.
points
Type: Aspose.PSDPoint
Array of Point structures that represent the vertices of the polygon.
Exceptions
ExceptionCondition
ArgumentNullExceptionpen is null.
See Also