rotate


Description:

public void rotate (float angle)

Rotates @this'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 this's current coordinate system.

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

Parameters:

this

a `GtkSnapshot`

angle

the rotation angle, in degrees (clockwise)