CanvasPropertyDeviceTransform

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the device transform of <mCanvas>
Associationscom.livecode.canvas
Summary

The current device transform of the canvas.

Parameters
NameTypeDescription
mCanvas

An expression which evaluates to a canvas.

Example
// Modify the canvas transform
translate this canvas by [50, 100]

// Get the resulting transform
variable tTransform as Transform
put the device transform of this canvas into tTransform
Description

The device transform of the canvas. Drawing operations on mCanvas will be modified by the transform before rendering to the underlying pixel buffer.

Tagscanvas