CanvasOperationTranslate

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
translate <mCanvas> by <mTranslation>
Associationscom.livecode.canvas
Summary

Apply a translation to a canvas.

Parameters
NameTypeDescription
mTranslation

An expression which evaluates to a list of numbers.

mCanvas

An expression which evaluates to a canvas.

Example
// Translate the canvas
translate this canvas by [50,100]
Description

Translates the transform of mCanvas by mTranslation.

Tagscanvas