GeneralTransformGroup.TransformBounds Method (Rect)

 

Transforms the specified bounding box to the smallest axis-aligned bounding box possible that contains all the points in the original bounding box.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public override Rect TransformBounds(
	Rect rect
)

Parameters

rect
Type: System.Windows.Rect

The bounding box to transform.

Return Value

Type: System.Windows.Rect

The transformed bounding box, which is the smallest axis-aligned bounding box possible that contains all the points in the original bounding box.

.NET Framework
Available since 3.0
Return to top
Show: