This topic has not yet been rated - Rate this topic

Matrix Methods

The Matrix type exposes the following members.

  Name Description
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() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Multiply(Matrix) Multiplies this Matrix by the matrix specified in the matrix parameter, by prepending the specified Matrix.
Public method Multiply(Matrix, MatrixOrder) Multiplies this Matrix by the matrix specified in the matrix parameter, and in the order specified in the order parameter.
Public method Reset Resets this Matrix to have the elements of the identity matrix.
Public method Rotate(Single) Prepend to this Matrix a clockwise rotation, around the origin and by the specified angle.
Public method Rotate(Single, MatrixOrder) Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix.
Public method RotateAt(Single, PointF) Applies a clockwise rotation to this Matrix around the point specified in the point parameter, and by prepending the rotation.
Public method RotateAt(Single, PointF, MatrixOrder) Applies a clockwise rotation about the specified point to this Matrix in the specified order.
Public method Scale(Single, Single) Applies the specified scale vector to this Matrix by prepending the scale vector.
Public method Scale(Single, Single, MatrixOrder) Applies the specified scale vector (scaleX and scaleY) to this Matrix using the specified order.
Public method Shear(Single, Single) Applies the specified shear vector to this Matrix by prepending the shear transformation.
Public method Shear(Single, Single, MatrixOrder) Applies the specified shear vector to this Matrix in the specified order.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TransformPoints(Point[]) Applies the geometric transform represented by this Matrix to a specified array of points.
Public method TransformPoints(PointF[]) Applies the geometric transform represented by this Matrix to a specified array of points.
Public method TransformVectors(Point[]) Applies only the scale and rotate components of this Matrix to the specified array of points.
Public method TransformVectors(PointF[]) Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
Public method Translate(Single, Single) Applies the specified translation vector (offsetX and offsetY) to this Matrix by prepending the translation vector.
Public method Translate(Single, Single, MatrixOrder) Applies the specified translation vector to this Matrix in the specified order.
Public method VectorTransformPoints Multiplies each vector in an array by the matrix. The translation elements of this matrix (third row) are ignored.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ