PatternMake

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

Creates a new pattern paint.

Parameters
NameTypeDescription
mImage

An expression which evaluates to an image.

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

// Create a new pattern based on the image
variable tPaint
put pattern with tImage into tPaint
Values
NameTypeDescription
return

A new pattern paint based on mImage.

Description

Creates a new pattern paint.

Tagscanvas