مشاركة عبر


MatrixHelper.FromElements Method

Definition

Creates a new Matrix based on provided initial Matrix data values.

public:
 static Matrix FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY);
 static Matrix FromElements(double const& m11, double const& m12, double const& m21, double const& m22, double const& offsetX, double const& offsetY);
public static Matrix FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY);
function fromElements(m11, m12, m21, m22, offsetX, 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.

Applies to