Skip to main content

CanvasOperationTransform

Type

statement

Summary

Apply a transform to a canvas.

Syntax

transform <mCanvas> by <mTransform>

Description

Concatenates the transform of mCanvas with mTransform.

Parameters

NameTypeDescription

mTransform

An expression which evaluates to a transform.

mCanvas

An expression which evaluates to a canvas.

Examples

// Scale the canvas with a transform
transform this canvas by transform with scale [2,2]
Thank you for your feedback!

Was this page helpful?