$translate
Adds a translation transformation.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
x | Distance to move in the horizontal direction. positive = right, negative = left. | number | false |
y | Distance to move in the vertical direction. positive = down, negative = up. | number | false |