# Matrix Members

**Visual Studio 2008**

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

The Matrix type exposes the following members.

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 | Tests whether the specified object is a Matrix and is identical to this Matrix. (Overrides Object.Equals(Object).) | |

Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |

GetHashCode | Returns a hash code. (Overrides Object.GetHashCode().) | |

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

MemberwiseClone | Overloaded. | |

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

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

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

## Community Additions

ADD
Show: