---
title: "GraphicsPath.AddPolygon"
url: "https://reference.aspose.com/drawing/net/aspose.drawing.drawing2d/graphicspath/addpolygon/"
product: "Aspose.Drawing for .NET API Reference"
description: "GraphicsPath method. Adds a polygon to this path"
---

## AddPolygon(PointF[]) {#addpolygon}

Adds a polygon to this path.

```csharp
public void AddPolygon(PointF[] points)
```

| Parameter | Type | Description |
| --- | --- | --- |
| points | PointF[] | An array of PointF structures that defines the polygon to add. |

### See Also

* struct [PointF](../../../aspose.drawing/pointf/)
* class [GraphicsPath](../)
* namespace [Aspose.Drawing.Drawing2D](../../graphicspath/)
* assembly [Aspose.Drawing.Common](../../../)

---

## AddPolygon(Point[]) {#addpolygon_1}

Adds a polygon to this path.

```csharp
public void AddPolygon(Point[] points)
```

| Parameter | Type | Description |
| --- | --- | --- |
| points | Point[] | An array of Point structures that defines the polygon to add. |

### See Also

* struct [Point](../../../aspose.drawing/point/)
* class [GraphicsPath](../)
* namespace [Aspose.Drawing.Drawing2D](../../graphicspath/)
* assembly [Aspose.Drawing.Common](../../../)


