rotate

open fun rotate(angle: <Error class: unknown class>)

Rotates @@snapshot's coordinate system by @angle degrees in 2D space - or in 3D speak, rotates around the Z axis. The rotation happens around the origin point of (0, 0) in the @snapshot's current coordinate system.

To rotate around axes other than the Z axis, use method@Gsk.Transform.rotate_3d.

Parameters

angle

the rotation angle, in degrees (clockwise)