-api-id | -api-type |
---|---|
M:Windows.UI.Input.IPointerPointTransform.TransformBounds(Windows.Foundation.Rect) |
winrt method |
Transforms the specified bounding rectangle.
The bounding rectangle to transform.
The smallest, axis-aligned bounding box that encloses rect after the transformation. (An axis-aligned bounding box is one which has all sides parallel to the coordinate axes.)
rect is typically the ContactRect associated with the input point that is transformed through the TryTransform method. rect must be recalculated as it does not change with the transformation of the input point.
This method should return an HResult that identifies whether the transformation was successful.