Skip to main content
All docs
V25.1
  • 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.v25.1.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.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TranslateTransform(Single, Single, MatrixOrder) method.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also