## GraphicsPath::AddPolygon(const ArrayPtr\<Point\>\&) method


Adds the specified polygon to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddPolygon(const ArrayPtr<Point> &points)
```


| Parameter | Type | Description |
| --- | --- | --- |
| points | const ArrayPtr\<Point\>\& | An array containing points that specify the polygon to add |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Point](../../../system.drawing/point/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.TeX for C++](../../../)
## GraphicsPath::AddPolygon(const ArrayPtr\<PointF\>\&) method


Adds the specified polygon to the path represented by the current object.

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddPolygon(const ArrayPtr<PointF> &points)
```


| Parameter | Type | Description |
| --- | --- | --- |
| points | const ArrayPtr\<PointF\>\& | An array containing points that specify the polygon to add |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.TeX for C++](../../../)
