System::Drawing::Drawing2D::GraphicsPath::GetBounds method

GraphicsPath::GetBounds 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
ParameterTypeDescription
matrixconst MatrixPtr&The transform matrix
penconst SharedPtr<Pen>&A Pen to calculate the bounding rectangle.

See Also