RadMatrix
Struct
Represents a light-weight 3*3 Matrix to be used for GDI+ transformations.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public struct RadMatrix
Constructors
Initializes a new RadMatrix, rotated by the specified angle (in degrees) at origin (0, 0).
Initializes a new RadMatrix, applying the specified X and Y values as DX and DY members of the matrix.
Copy constructor.
Fields
C#
public const float DegreeToRadian = 0.017453294
C#
public const float RadianToDegree = 57.295773
Properties
Gets the determinant - [(M11 * M22) - (M12 * M21)] - of this Matrix.
C#
public float Determinant { get; }
Gets all the six fields of the matrix as an array.
C#
public float[] Elements { get; }
Determines whether this matrix equals to the Identity one.
C#
public bool IsIdentity { get; }
Determines whether this matrix may be inverted. That is to have non-zero determinant.
C#
public bool IsInvertible { get; }
Gets the rotation (in degrees) applied to this matrix.
C#
public float Rotation { get; }
Methods
C#
public void Multiply(RadMatrix matrix, MatrixOrder order)
C#
public void Reset()
C#
public void RotateAt(float angle, PointF origin, MatrixOrder order)
C#
public void Scale(float scaleX, float scaleY, MatrixOrder order)
C#
public void Translate(float dx, float dy, MatrixOrder order)