CanvasOperationTranslate
Type
statement
Summary
Apply a translation to a canvas.
Syntax
translate <mCanvas> by <mTranslation>
Description
Translates the transform of mCanvas by mTranslation.
Parameters
Name | Type | Description |
---|---|---|
mTranslation | An expression which evaluates to a list of numbers. | |
mCanvas | An expression which evaluates to a canvas. |
Examples
// Translate the canvas
translate this canvas by [50,100]