## GraphicsPath::GetBounds method


Retourne un objet [RectangleF](../../../system.drawing/rectanglef/) qui représente un rectangle qui encadre le chemin représenté par l'objet actuel lorsqu'il est transformé avec la matrice spécifiée.

```cpp
RectangleF System::Drawing::Drawing2D::GraphicsPath::GetBounds(const MatrixPtr &matrix=nullptr, const SharedPtr<Pen> &pen=nullptr) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| matrice | const MatrixPtr\& | La matrice de transformation |
| pen | const SharedPtr\<Pen\>\& | Un [Pen](../../../system.drawing/pen/) pour calculer le rectangle englobant. |

## Voir aussi

* Class [RectangleF](../../../system.drawing/rectanglef/)
* Typedef [MatrixPtr](../../matrixptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../../system.drawing/pen/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Font for C++](../../../)
