This documentation is archived and is not being maintained.

# Matrix Members

**.NET Framework 2.0**

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

The following tables list the members exposed by the Matrix type.

Name | Description | |
---|---|---|

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

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

IsInvertible | Gets a value indicating whether this Matrix is invertible. | |

OffsetX | Gets the x translation value (the dx value, or the element in the third row and first column) of this Matrix. | |

OffsetY | Gets the y translation value (the dy value, or the element in the third row and second column) of this Matrix. |

(see also
Protected Methods
)

Top

Name | Description | |
---|---|---|

Clone |
Creates an exact copy of this Matrix.
| |

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) | |

Dispose |
Releases all resources used by this Matrix.
| |

Equals | Overloaded. Overridden. | |

GetHashCode | Overridden. Returns a hash code. | |

GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) | |

GetType | Gets the Type of the current instance. (inherited from Object) | |

InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) | |

Invert |
Inverts this Matrix, if it is invertible.
| |

Multiply |
Overloaded.
Multiplies this Matrix by the specified Matrix by prepending the specified Matrix.
| |

ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |

Reset |
Resets this Matrix to have the elements of the identity matrix.
| |

Rotate |
Overloaded.
Applies a clockwise rotation of the specified angle about the origin to this Matrix.
| |

RotateAt |
Overloaded.
Applies a clockwise rotation about the specified point to this Matrix by prepending the rotation.
| |

Scale |
Overloaded.
Applies the specified scale vector to this Matrix by prepending the scale vector.
| |

Shear |
Overloaded.
Applies the specified shear vector to this Matrix by prepending the shear vector.
| |

ToString |
Returns a String that represents the current Object.
(inherited from Object) | |

TransformPoints |
Overloaded.
Applies the geometric transform this Matrix represents to an array of points.
| |

TransformVectors | Overloaded. Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored. | |

Translate |
Overloaded.
Applies the specified translation vector to this Matrix by prepending the translation vector.
| |

VectorTransformPoints | Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored. |

Name | Description | |
---|---|---|

Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(inherited from Object) | |

MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |

#### Reference

Matrix ClassSystem.Drawing.Drawing2D Namespace

#### Other Resources

Coordinate Systems and Transformations
Show: