GetBounds

PolygonShape.GetBounds method (1 of 2)

Gets the object’s bounds.

public override RectangleF GetBounds(Matrix matrix)
Parameter Type Description
matrix Matrix The matrix to apply before bounds will be calculated.

Return Value

The estimated object’s bounds.

See Also


PolygonShape.GetBounds method (2 of 2)

Gets the object’s bounds.

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

Return Value

The estimated object’s bounds.

See Also