MatrixTransform Constructors

Definition

Initializes a new instance of the MatrixTransform class.

Overloads

MatrixTransform()

Initializes a new instance of the MatrixTransform class.

MatrixTransform(Matrix)

Initializes a new instance of the MatrixTransform class with the specified transformation matrix.

MatrixTransform(Double, Double, Double, Double, Double, Double)

Initializes a new instance of the MatrixTransform class with the specified transformation matrix values.

MatrixTransform()

Initializes a new instance of the MatrixTransform class.

C#
public MatrixTransform();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

MatrixTransform(Matrix)

Initializes a new instance of the MatrixTransform class with the specified transformation matrix.

C#
public MatrixTransform(System.Windows.Media.Matrix matrix);

Parameters

matrix
Matrix

The transformation matrix of the new MatrixTransform.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

MatrixTransform(Double, Double, Double, Double, Double, Double)

Initializes a new instance of the MatrixTransform class with the specified transformation matrix values.

C#
public MatrixTransform(double m11, double m12, double m21, double m22, double offsetX, double offsetY);

Parameters

m11
Double

The value at position (1, 1) in the transformation matrix.

m12
Double

The value at position (1, 2) in the transformation matrix.

m21
Double

The value at position (2, 1) in the transformation matrix.

m22
Double

The value at position (2, 2) in the transformation matrix.

offsetX
Double

The X-axis translation factor, which is located at position (3,1) in the transformation matrix.

offsetY
Double

The Y-axis translation factor, which is located at position (3,2) in the transformation matrix.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10