rotate

fun rotate(angle: Float): Transform?

Rotates @next @angle degrees in 2D - or in 3D-speak, around the z axis.

Return

The new transform

Parameters

angle

the rotation angle, in degrees (clockwise)