## Graphics::DrawPath method


Draws the specified path using the specified pen.

```cpp
void System::Drawing::Graphics::DrawPath(const SharedPtr<Pen> &pen, const SharedPtr<Drawing2D::GraphicsPath> &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | A [Pen](../../pen/) object to use for drawing |
| path | const SharedPtr\<Drawing2D::GraphicsPath\>\& | A graphics path to draw |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
