GeneralTransform.TransformBounds(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The smallest axis-aligned bounding box possible that contains the transformed rect
.