rotate


Description:

[ DestroysInstance ]
public Transform? rotate (float angle)

Rotates this by an angle around the Z axis.

The rotation happens around the origin point of (0, 0).

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

Parameters:

this

the next transform

angle

the rotation angle, in degrees (clockwise)

Returns:

The new transform