Translate(Double, Double) Method

Definition

Assembly PanAndZoom.dll

Creates a translation matrix using the specified offsets.

public static Matrix Translate(double offsetX, double offsetY)

Parameters

offsetX
Double

X-coordinate offset.

offsetY
Double

Y-coordinate offset.

Returns

Avalonia.Matrix
The created translation matrix.