Skip to main content
All docs
V23.2

GraphicsCache.TranslateTransform(Single, Single, MatrixOrder) Method

Applies the translation to the transformation matrix to change the origin of the coordinate system. See the TranslateTransform method description for more information.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void TranslateTransform(
    float dx,
    float dy,
    MatrixOrder order = MatrixOrder.Prepend
)

Parameters

Name Type Description
dx Single

The X-coordinate of the translation.

dy Single

The y-coordinate of the translation.

Optional Parameters

Name Type Default Description
order MatrixOrder Prepend

Specifies whether the translation is prepended or appended to the transformation matrix.

See Also