DXMatrix.Translate(Single, Single, DXMatrixOrder) Method
In This Article
Applies the specified translation vector to DXMatrix
in the specified order.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public void Translate(
float offsetX,
float offsetY,
DXMatrixOrder order = DXMatrixOrder.Prepend
)
#Parameters
Name | Type | Description |
---|---|---|
offset |
Single | The x-coordinate of the translation. |
offset |
Single | The y-coordinate of the translation. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
order | DXMatrix |
Prepend | An enumeration value that indicates the order (append or prepend) in which the translation is applied. |
See Also