Share via


MatrixHelper.FromElements Method

Definition

Creates a new Matrix based on provided initial Matrix data values. C# and Microsoft Visual Basic code should use Matrix constructor instead.

public static Matrix FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY);

Parameters

m11
Double

The initial value of M11 for the created Matrix.

m12
Double

The initial value of M12 for the created Matrix.

m21
Double

The initial value of M21 for the created Matrix.

m22
Double

The initial value of M22 for the created Matrix.

offsetX
Double

The initial value of OffsetX for the created Matrix.

offsetY
Double

The initial value of OffsetY for the created Matrix.

Returns

The created Matrix.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6