Skip to main content

CanvasOperationTranslate

Type​

statement

Summary​

Apply a translation to a canvas.

Syntax​

translate <mCanvas> by <mTranslation>

Description​

Translates the transform of mCanvas by mTranslation.

Parameters​

NameTypeDescription

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]
Thank you for your feedback!

Was this page helpful?