Skip to main content

PatternMake

Type​

operator

Summary​

Creates a new pattern paint.

Syntax​

pattern with <mImage>

Description​

Creates a new pattern paint.

Parameters​

NameTypeDescription

mImage

An expression which evaluates to an image.

Examples​

// 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

Value​

NameTypeDescription

return

A new pattern paint based on mImage.

Thank you for your feedback!

Was this page helpful?