Modifier

Partager via


GeneralTransformGroup.TransformBounds(Rect) Method

Definition

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

public:
 override System::Windows::Rect TransformBounds(System::Windows::Rect rect);
public override System.Windows.Rect TransformBounds (System.Windows.Rect rect);
override this.TransformBounds : System.Windows.Rect -> System.Windows.Rect
Public Overrides Function TransformBounds (rect As Rect) As Rect

Parameters

rect
Rect

The bounding box to transform.

Returns

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

Applies to