Layer.rotate

void rotate (Number angle, AnchorPosition anchor)

Parameters

angle The number of degrees to rotate the object.
anchor The point to rotate about.

Description

Rotates the object.