Skip to main content

PatternMakeRotatedBy

Type

operator

Summary

Creates a new rotated pattern paint.

Syntax

pattern with <mImage> rotated by <mRotation>

Description

Creates a new rotated pattern paint.

Parameters

NameTypeDescription

mImage

An expression which evaluates to an image.

mRotation

An expression which evaluates to a number of degrees.

Examples

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

// Create a new pattern paint, rotating the image through 90 degrees
variable tPaint
put pattern with tImage rotated by 90 into tPaint
Thank you for your feedback!

Was this page helpful?