TransformPropertyRotation

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

The rotation component of a transform.

Parameters
NameTypeDescription
mTransform

An expression which evaluates to a transform.

Example
variable tTransform
put transform with matrix [0, 2, -2, 0, 50, 100] into tTransform

// Store the old rotation component
variable tRotation
put the rotation of tTransform into tRotation

// Double the rotation
set the rotation of tTransform to tRotation * 2
Description

The rotation of mTransform as a number of degrees.

Tagscanvas