PatternPropertyTransform

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

The transform of a pattern value.

Parameters
NameTypeDescription
mPattern

An expression which evaluates to a pattern.

Example
// Create a new pattern paint from a scaled-down image file
variable tPattern
put pattern with image from file "images/pattern.png" scaled by [0.5] into tPattern

// Get the current transform
variable tTransform
put the transform of tPattern into tTransform

// Modify the transform by rotation
rotate tTransform by tDegrees

// Set the pattern to the modified transform
set the transform of tPattern to tTransform
Description

The transform of mPattern.

Tagscanvas