New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class MatrixTransform : Transform

Inheritance: objectTransformMatrixTransform

Inherited Members Transform.TransformBounds(Rect)Transform.TryTransform(Point, out Point)Transform.TransformPoint(Point)Transform.IdentityTransform.Inverse

Constructors

Initializes a new instance of the class.

C#
public MatrixTransform()

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

C#
public MatrixTransform(double m11, double m12, double m21, double m22, double offsetX, double offsetY)
Parameters:m11double

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

m12double

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

m21double

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

m22double

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

offsetXdouble

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

offsetYdouble

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

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

C#
public MatrixTransform(Matrix matrix)
Parameters:matrixMatrix

The transformation matrix of the new .

Properties

Gets or sets the Matrix structure that defines this transformation.

C#
public Matrix Matrix { get; set; }
Property Value:

The Matrix structure that defines this transformation. The default value is an identity Matrix. An identity matrix has a value of 1 in coefficients [1,1], [2,2], and [3,3]; and a value of 0 in the rest of the coefficients.

Gets the that represents this .

C#
public override Matrix Value { get; }
Property Value:

The matrix that represents this .

Overrides: Transform.Value