RectExtensions.Transform(Rect, Matrix) 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.
Implement WPF's Rect.Transform(Matrix)
logic.
public static Windows.Foundation.Rect Transform(this Windows.Foundation.Rect rectangle, Windows.UI.Xaml.Media.Matrix matrix);
static member Transform : Windows.Foundation.Rect * Windows.UI.Xaml.Media.Matrix -> Windows.Foundation.Rect
<Extension()>
Public Function Transform (rectangle As Rect, matrix As Matrix) As Rect
Parameters
- rectangle
- Rect
The rectangle to transform.
- matrix
- Matrix
The matrix to use to transform the rectangle.
Returns
The transformed rectangle.