CanvasOperationRotate
Type
statement
Summary
Apply a rotation to a canvas.
Syntax
rotate <mCanvas> by <mRotation>
Description
Rotates the transform of mCanvas by mRotation degrees.
Parameters
Name | Type | Description |
---|---|---|
mRotation | An expression which evaluates to a number. | |
mCanvas | An expression which evaluates to a canvas. |
Examples
// Rotate the canvas
rotate this canvas by 45