Skip to main content
All docs
V23.2

DXMatrix Methods

Encapsulates a 3x2 affine matrix used for geometric transformations.
Name Description
Clone() Clones the DXMatrix object.
CreateRotateMatrix(Single) static Creates a new matrix based on the current matrix and applies a clockwise rotation of the specified angle relative to the matrix origin.
CreateScaleMatrix(Single, Single) static Creates a new matrix based on the current matrix and applies the specified scale vector.
CreateShearMatrix(Single, Single) static Creates a new matrix based on the current matrix and applies the specified shear vector.
CreateTranslateMatrix(Single, Single) static Creates a new matrix based on the current matrix and translates the coordinate system origin to the specified offset.
CreateWarpMatrix(RectangleF, IReadOnlyList<PointF>) static
CreateWarpMatrix(RectangleF, RectangleF) static
Equals(DXMatrix) Determines whether the specified object is equal to the current DXMatrix object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current DXMatrix object.
GetHashCode() Returns the hash code for the current DXFont object.
GetType() Gets the Type of the current instance. Inherited from Object.
Invert() Inverts the DXMatrix instance (if it is invertible).
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Multiply(DXMatrix, DXMatrixOrder) Multiplies this DXMatrix by the specified matrix, and in the order specified in the order parameter.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Reverts the current object properties to default values.
Rotate(Single, DXMatrixOrder) Applies a clockwise rotation to the specified angle around the origin (zero x and y coordinates).
RotateAt(Single, PointF, DXMatrixOrder) Applies a clockwise rotation around the specified point in the specified order.
Scale(Single, Single, DXMatrixOrder) Prepends and applies the specified scale vector to the DXMatrix instance.
Shear(Single, Single, DXMatrixOrder) Prepends and applies the specified shear vector to the DXMatrix instance.
ToString() Returns a string that represents the current object. Inherited from Object.
TransformPoint(PointF) Applies the geometric transformation to a point.
TransformPoints(IReadOnlyList<PointF>) Applies the geometric transformation to an array of points.
TransformPoints(PointF[]) Applies the geometric transformation to an array of points.
Translate(Single, Single, DXMatrixOrder) Applies the specified translation vector to DXMatrix in the specified order.
See Also