Snapshot.rotate

Rotates @@snapshot's coordinate system by @angle degrees in 2D space - or in 3D speak, rotates around the Z axis.

To rotate around other axes, use [method@Gsk.Transform.rotate_3d].

class Snapshot
void
rotate
(
float angle
)

Parameters

angle float

the rotation angle, in degrees (clockwise)

Meta