rotate

fun rotate(angle: <Error class: unknown class>): Transform?

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

This function consumes @next. Use method@Gsk.Transform.ref first if you want to keep it around.

Return

The new transform

Parameters

angle

the rotation angle, in degrees (clockwise)