DXMatrix Members
Encapsulates a 3x2 affine matrix used for geometric transformations.Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| A | Obtains the value in the first row and first column. |
| B | Obtains the value in the first row and second column. |
| C | Obtains the value in the second row and first column. |
| D | Obtains the value in the second row and second column. |
| E | Obtains the value in the third row and first column. |
| Elements | Obtains the matrix elements.’ |
| F | Obtains the value in the third row and second column. |
| IsIdentity |
Gets whether this DXMatrix is the identity matrix.
|
| IsInvertible |
Gets whether the DXMatrix object is invertible.
|
| OffsetX |
Gets the x translation value (the dx value, or the element in the third row and first column).
|
| OffsetY |
Gets the y translation value (the dy value, or the element in the third row and second column).
|
Methods
| 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 | Creates a new matrix based on the current matrix and applies a warp transform. |
| CreateWarpMatrix(RectangleF, RectangleF) static | Creates 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) 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