Skip to main content
All docs
V24.2

DXMatrix.CreateTranslateMatrix(Single, Single) Method

Creates a new matrix based on the current matrix and translates the coordinate system origin to the specified offset.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public static DXMatrix CreateTranslateMatrix(
    float offsetX,
    float offsetY
)

Parameters

Name Type Description
offsetX Single

The x-coordinate of the translation.

offsetY Single

The y-coordinate of the translation.

Returns

Type Description
DXMatrix

The resulting transformation matrix.

See Also