| GraphicsDrawPolygon Method (Pen, Point) |
Draws a polygon defined by an array of
Point structures.
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxpublic void DrawPolygon(
Pen pen,
Point[] points
)
Public Sub DrawPolygon (
pen As Pen,
points As Point()
)
public:
void DrawPolygon(
Pen^ pen,
array<Point>^ points
)
member DrawPolygon :
pen : Pen *
points : Point[] -> unit
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| Exception | Condition |
|---|
| ArgumentNullException | pen is null. |
See Also