Matrix Methods

The Matrix type exposes the following members.

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 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 GetNativeMatrix
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.

See Also

Reference