Skip to content

rotateLayer

Alias for $rotate. Rotates the main canvas or active layer.

Syntax

$rotateLayer[angle;expand]

Parameters

Parameter Type Description Default
angle float Angle of rotation in degrees counter-clockwise. Required
expand bool If true, expands the canvas size to fully fit the rotated image. false

See the rotate page for full details and examples.