GetBounds()
GraphicsPath::GetBounds(const MatrixPtr&, const SharedPtr<Pen>&) const method
Returns a RectangleF object that represents a rectangle that bounds the path represented by the current object when it is transformed with the specified matrix.
RectangleF System::Drawing::Drawing2D::GraphicsPath::GetBounds(const MatrixPtr &matrix=nullptr, const SharedPtr<Pen> &pen=nullptr) const
Arguments
Parameter | Type | Description |
---|---|---|
matrix | const MatrixPtr& | The transform matrix |
pen | const SharedPtr<Pen>& | A Pen to calculate the bounding rectangle. |
See Also
- Typedef MatrixPtr
- Typedef SharedPtr
- Class RectangleF
- Class Pen
- Class GraphicsPath
- Namespace System::Drawing::Drawing2D
- Library Aspose.Slides