GraphicsPath.GetBounds

GetBounds(Matrix)

Gets the object’s bounds.

public override RectangleF GetBounds(Matrix matrix)
ParameterTypeDescription
matrixMatrixThe matrix to apply before bounds will be calculated.

Return Value

The estimated object’s bounds.

See Also


GetBounds(Matrix, Pen)

Gets the object’s bounds.

public override RectangleF GetBounds(Matrix matrix, Pen pen)
ParameterTypeDescription
matrixMatrixThe matrix to apply before bounds will be calculated.
penPenThe pen to use for object. This can influence the object’s bounds size.

Return Value

The estimated object’s bounds.

See Also