## Graphics::DrawPolygon(const SharedPtr\<Pen\>\&, const ArrayPtr\<Point\>\&) method


指定されたペンを使用して多角形を描画します。

```cpp
void System::Drawing::Graphics::DrawPolygon(const SharedPtr<Pen> &pen, const ArrayPtr<Point> &points)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| ペン | const SharedPtr\<Pen\>\& | ポリゴンを描画する際に使用するペン |
| points | const ArrayPtr\<Point\>\& | ポリゴンを定義する頂点の [Array](../../../system/array/) |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Point](../../point/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::DrawPolygon(const SharedPtr\<Pen\>\&, const ArrayPtr\<PointF\>\&) method


指定されたペンを使用して多角形を描画します。

```cpp
void System::Drawing::Graphics::DrawPolygon(const SharedPtr<Pen> &pen, const ArrayPtr<PointF> &points)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| ペン | const SharedPtr\<Pen\>\& | ポリゴンを描画する際に使用するペン |
| points | const ArrayPtr\<PointF\>\& | ポリゴンを定義する頂点の [Array](../../../system/array/) |

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PointF](../../pointf/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
