Back to Devexpress

DXMatrix Members

corelibraries-devexpress-dot-drawing-dot-dxmatrix-dot-underscore-members.md

latest8.2 KB
Original Source

DXMatrix Members

Encapsulates a 3x2 affine matrix used for geometric transformations.

Constructors

NameDescription
DXMatrix()Initializes a new instance of the DXMatrix class.
DXMatrix(Single, Single, Single, Single, Single, Single)Initializes a new instance of the DXMatrix class with specified elements.
DXMatrix(Single[])Initializes a new instance of the DXMatrix class with specified settings.

Properties

NameDescription
AObtains the value in the first row and first column.
BObtains the value in the first row and second column.
CObtains the value in the second row and first column.
DObtains the value in the second row and second column.
EObtains the value in the third row and first column.
ElementsObtains the matrix elements.’
FObtains the value in the third row and second column.
IsIdentityGets whether this DXMatrix is the identity matrix.
IsInvertibleGets whether the DXMatrix object is invertible.
OffsetXGets the x translation value (the dx value, or the element in the third row and first column).
OffsetYGets the y translation value (the dy value, or the element in the third row and second column).

Methods

NameDescription
Clone()Clones the DXMatrix object.
CreateRotateMatrix(Single) staticCreates 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) staticCreates a new matrix based on the current matrix and applies the specified scale vector.
CreateShearMatrix(Single, Single) staticCreates a new matrix based on the current matrix and applies the specified shear vector.
CreateTranslateMatrix(Single, Single) staticCreates a new matrix based on the current matrix and translates the coordinate system origin to the specified offset.
CreateWarpMatrix(RectangleF, IReadOnlyList<PointF>) staticCreates a new matrix based on the current matrix and applies a warp transform.
CreateWarpMatrix(RectangleF, RectangleF) staticCreates a new matrix based on the current matrix and applies a warp transformation.
Equals(DXMatrix)Determines whether the specified object is equal to the current DXMatrix object.
Equals(Object, Object) staticDetermines 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() protectedCreates 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) staticDetermines 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

DXMatrix Class

DevExpress.Drawing Namespace