Transform.rotate

gsk.transform.Transform rotate(float angle)

Rotates next angle degrees in 2D - or in 3D-speak, around the Z axis. The rotation happens around the origin point of (0, 0).

Parameters

anglethe rotation angle, in degrees (clockwise)

Returns

The new transform