Edit

Share via


RectExtensions.Transform(Rect, Matrix) Method

Definition

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.

Applies to