GetBounds

BezierShape.GetBounds method (1 of 2)

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


BezierShape.GetBounds method (2 of 2)

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