Matrix Members

The Matrix type exposes the following members.

Constructors

Name Description
Public method Matrix Overloaded.

Methods

Name Description
Public method Static member CreateFromAffinePoints

Returns a Matrix of the affine transform which converts one set of points to another.

Public method Static member CreateFromProjectivePoints

Returns a Matrix of the projective transform which converts one set of points to another.

Public method Static member CreateRotate Overloaded.

Returns the affine Matrix of the rotation transform.

Public method Static member CreateScale

Returns the affine Matrix of the scale transform.

Public method Static member CreateTranslate

Returns the affine Matrix of the translate transform.

Public method Dispose

Releases all resources used by this Matrix.

Public method Equals

Tests whether the specified object is a Matrix and is identical to this Matrix.

(Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode

Returns a hash code.

(Overrides Object.GetHashCode().)
Public method GetInverted

Returns an inverted copy of this Matrix, if it is invertible.

Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member Multiply Overloaded.
Public method Rotate

Prepend to this Matrix a clockwise rotation, around the origin and by the specified angle.

Public method RotateAt

Applies a clockwise rotation to this Matrix around the point specified in the point parameter, and by prepending the rotation.

Public method Scale

Applies the specified scale vector to this Matrix by prepending the scale vector.

Public method ToGdiPlusMatrix

Returns a matrix converted to System.Drawing.Drawing2D.Matrix.

Public method ToString (Inherited from Object.)
Public method TransformPoints

Multiplies the specified points by this Matrix.

Public method Translate

Applies the specified translation vector (offsetX and offsetY) to this Matrix by prepending the translation vector.

Operators

Name Description
Public operator Static member Equality

Tests whether two specified Matrix instances are equivalent.

Public operator Static member Explicit Overloaded.
Public operator Static member Inequality

Tests whether two specified Matrix instances are different.

Public operator Static member Multiply Overloaded.

Properties

Name Description
Public property Determinant

Gets a determinant of the matrix.

Public property Elements

Gets an array of floating-point values that represents the elements of this Matrix.

Public property IsIdentity

Gets a value indicating whether this Matrix is the identity matrix.

Public property IsInvertible

Gets a value indicating whether this Matrix is invertible.

See Also

Reference