Skip to main content
All docs
V24.2

DXMatrix.Translate(Single, Single, DXMatrixOrder) Method

Applies the specified translation vector to DXMatrix in the specified order.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public void Translate(
    float offsetX,
    float offsetY,
    DXMatrixOrder order = DXMatrixOrder.Prepend
)

Parameters

Name Type Description
offsetX Single

The x-coordinate of the translation.

offsetY Single

The y-coordinate of the translation.

Optional Parameters

Name Type Default Description
order DXMatrixOrder Prepend

An enumeration value that indicates the order (append or prepend) in which the translation is applied.

See Also