TransformPropertyMatrixAsList

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the matrix of <mTransform>
Associationscom.livecode.canvas
Summary

The matrix values of a transform.

Parameters
NameTypeDescription
mTransform

An expression which evaluates to a transform.

Example
variable tTransform
put transform with translation [20,50] into tTransform

// Get the current transform matrix
variable tMatrix
put the matrix of tTransform into tMatrix

// Directly set the components
put 2.5 into element 1 of tMatrix
put 0 into element 2 of tMatrix
put 0 into element 3 of tMatrix
put 2.5 into element 4 of tMatrix

// Update the transform with the new values
set the matrix of tTransform to tMatrix
Description

The matrix values of mTransform as a list of 6 numbers.

Tagscanvas