MatrixHelperEx

Warning

This type has been removed from the Windows Community Toolkit, please use the MatrixExtensions type instead.

MatrixHelperEx provides extra methods for various matrix operations.

Methods

Methods Return Type Description
Multiply(Matrix, Matrix) Matrix Multiply the two matrices and return the result.
Round(Matrix, double) Matrix Rounds the non-offset elements of a matrix to avoid issues due to floating point imprecision and returns the result.
RectTransform(Rect, Matrix) Rect Returns the rectangle that results from applying the specified matrix to the specified rectangle.

Requirements (Windows 10 Device Family)

Device family Universal, 10.0.16299.0 or higher
Namespace Microsoft.Toolkit.Uwp.UI
NuGet package Microsoft.Toolkit.Uwp.UI

API Source Code