﻿Matrix Methods

# Matrix Methods

The Matrix type exposes the following members.

Methods
NameDescription
Append
Append the specified matrices to the matrix
Create
Creates a new identity matrix
Create(Single)
Creates a new matrix with the specified elements
Create(Single, Single, Single, Single, Single, Single)
Creates a new matrix with the specified components
FromRotation
Creates a new rotation matrix
FromRotationAt(Single, PointF)
Creates a new rotation matrix around a center point with the specified angle
FromRotationAt(Single, Single, Single)
Creates a new rotation matrix around a (centerX, centerY) point with the specified angle
FromScale(SizeF)
Creates a new matrix with the specified scale
FromScale(Single, Single)
Creates a new matrix with the specified scale factor
FromScaleAt(SizeF, PointF)
Creates a new matrix with a scale at the specified center point
FromScaleAt(Single, Single, Single, Single)
Creates a new matrix with a scale at the specified point
FromSkew
Creates a new matrix with a skew
FromTranslation(PointF)
Creates a new matrix with a translation
FromTranslation(SizeF)
Creates a new matrix with a translation
FromTranslation(Single, Single)
Creates a new matrix with a translation
GetScale
Returns the scale coordinates Xx and Yy of the matrix as a PointF.
Inverse
Creates an inverted copy of the specified matrix.
Multiply
Multiply the specified matrix and matrices.
Prepend
Prepends the specified matrices to the matrix
RotateAt
Prepend a rotation around the specified point to the matrix
Scale(IMatrix, SizeF)
Prepend a scale to the matrix from the origin (0, 0)
Scale(IMatrix, Single)
Prepend a scale to the matrix from the origin (0, 0)
ScaleAt(IMatrix, SizeF, PointF)
Prepend a scale to the matrix from the specified point
ScaleAt(IMatrix, Single, PointF)
Prepend a scale to the matrix from the specified point
ScaleAt(IMatrix, Single, Single, Single)
Prepend a scale to the matrix from the specified point
TransformRectangle
Transforms the rectangle with the current matrix.
TransformSize
Transforms the size with the current matrix.
Translate(IMatrix, PointF)
Prepend a translation to the matrix
Translate(IMatrix, SizeF)
Prepend a translation to the matrix
Top