Skip to content

$translate

Adds a translation transformation.

Usage

$translate[canvas;x?;y?]

Parameters

FieldDescriptionTypeRequired
canvasThe canvas name.stringtrue
xDistance to move in the horizontal direction. positive = right, negative = left.numberfalse
yDistance to move in the vertical direction. positive = down, negative = up.numberfalse