GeneralTransform.TransformBounds(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.

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

参数

rect
Rect

要变换的边界框。The bounding box to transform.

返回

能容纳所变换的 rect 的最小的与坐标轴对齐的边界框。The smallest axis-aligned bounding box possible that contains the transformed rect.

适用于