MatrixHelper.FromElements(Double, Double, Double, Double, Double, Double) MatrixHelper.FromElements(Double, Double, Double, Double, Double, Double) MatrixHelper.FromElements(Double, Double, Double, Double, Double, Double) MatrixHelper.FromElements(Double, Double, Double, Double, Double, Double) 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)
static Matrix FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const;
public static Matrix FromElements(Double m11, Double m12, Double m21, Double m22, Double offsetX, Double offsetY)
Public Shared Function FromElements(m11 As Double, m12 As Double, m21 As Double, m22 As Double, offsetX As Double, offsetY As Double) As Matrix

Parameters

m11
Double Double

The initial value of M11 for the created Matrix.

m12
Double Double

The initial value of M12 for the created Matrix.

m21
Double Double

The initial value of M21 for the created Matrix.

m22
Double Double

The initial value of M22 for the created Matrix.

offsetX
Double Double

The initial value of OffsetX for the created Matrix.

offsetY
Double Double

The initial value of OffsetY for the created Matrix.

Returns

The created Matrix.