PatternMakeTransformed

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
pattern with <mImage> transformed by <mTransform>
Associationscom.livecode.canvas
Summary

Creates a new transformed pattern paint.

Parameters
NameTypeDescription
mImage

An expression which evaluates to an image.

mTransform

An expression which evaluates to a transform.

Example
// Load the pattern image.
variable tImage
put image from file "images/backgroundpattern.png" into tImage

// Set up the pattern transform
variable tTransform
put transform from matrix [0,2,-2,0,0,0] into tTransform

// Create a new pattern paint, applying a transform to the image
variable tPaint
put pattern with tImage transformed by tTransform into tPaint
Values
NameTypeDescription
return

A new pattern paint based on mImage with the specified transform applied.

Description

Creates a new transformed pattern paint.

Tagscanvas