Export (0) Print
Expand All

Matrix Members

Encapsulates a 3-by-3 affine matrix that represents a geometric transform. This class cannot be inherited.

The Matrix type exposes the following members.

  NameDescription
Public method Matrix Overloaded. Initializes a new instance of the Matrix class.
Top

  NameDescription
Public method Clone Creates an exact copy of this Matrix.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
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 Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns a hash code. (Overrides Object.GetHashCode().)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Invert Inverts this Matrix, if it is invertible.
Protected method MemberwiseClone Overloaded.
Public method Multiply Overloaded. Multiplies this Matrix by the specified Matrix by prepending the specified Matrix.
Public method Reset Resets this Matrix to have the elements of the identity matrix.
Public method Rotate Overloaded. Applies a clockwise rotation of the specified angle about the origin to this Matrix.
Public method RotateAt Overloaded. Applies a clockwise rotation about the specified point to this Matrix by prepending the rotation.
Public method Scale Overloaded. Applies the specified scale vector to this Matrix by prepending the scale vector.
Public method Shear Overloaded. Applies the specified shear vector to this Matrix by prepending the shear vector.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformPoints Overloaded. Applies the geometric transform this Matrix represents to an array of points.
Public method TransformVectors Overloaded. Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
Public method Translate Overloaded. Applies the specified translation vector to this Matrix by prepending the translation vector.
Public method VectorTransformPoints Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
Top

  NameDescription
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.
Public property OffsetX Gets the x translation value (the dx value, or the element in the third row and first column) of this Matrix.
Public property OffsetY Gets the y translation value (the dy value, or the element in the third row and second column) of this Matrix.
Top

Community Additions

ADD
Show:
© 2014 Microsoft