This documentation is archived and is not being maintained.

Matrix Methods

The methods of the Matrix class are listed here. For a complete list of Matrix class members, see the Matrix Members topic.

Public Methods

public methodClone Creates an exact copy of this Matrix object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose Releases all resources used by this Matrix object.
public methodEquals Overridden. Tests whether the specified object is a Matrix object and is identical to this Matrix object.
public methodGetHashCode Overridden. Returns a hash code.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInvert Inverts this Matrix object, if it is invertible.
public methodMultiply Overloaded. Multiplies this Matrix object by the specified Matrix object by prepending the specified Matrix.
public methodReset Resets this Matrix object to have the elements of the identity matrix.
public methodRotate Overloaded. Applies a clockwise rotation of the specified angle about the origin to this Matrix object.
public methodRotateAt Overloaded. Applies a clockwise rotation about the specified point to this Matrix object by prepending the rotation.
public methodScale Overloaded. Applies the specified scale vector to this Matrix object by prepending the scale vector.
public methodShear Overloaded. Applies the specified shear vector to this Matrix by prepending the shear vector.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodTransformPoints Overloaded. Applies the geometric transform this Matrix object represents to an array of points.
public methodTransformVectors Overloaded. Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
public methodTranslate Overloaded. Applies the specified translation vector to this Matrix object by prepending the translation vector.

Protected Methods

protected methodFinalize Overridden. Cleans up resources allocated for this Matrix.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Matrix Class | System.Drawing.Drawing2D Namespace