Canvasity.rotate

Rotate the current transform.

The rotation is applied clockwise in a direction around the origin.

Note: To rotate around another point, first translate that point to the origin, then do the rotation, and then translate back.

Parameters

angle float

Clockwise angle in radians.

Meta