GeneralTransform.TransformBounds Method (Rect)

 

When overridden in a derived class, transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it.

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

public abstract Rect TransformBounds(
	Rect rect
)

Parameters

rect
Type: System.Windows.Rect

The bounding box to transform.

Return Value

Type: System.Windows.Rect

The smallest axis-aligned bounding box possible that contains the transformed rect.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: