GeneralTransform.TransformBounds(Rect) Method

Definition

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.

public:
 abstract System::Windows::Rect TransformBounds(System::Windows::Rect rect);
public abstract System.Windows.Rect TransformBounds (System.Windows.Rect rect);
abstract member TransformBounds : System.Windows.Rect -> System.Windows.Rect
Public MustOverride Function TransformBounds (rect As Rect) As Rect

Parameters

rect
Rect

The bounding box to transform.

Returns

Rect

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

Applies to