rotate


Description:

public abstract void rotate (int cx, int cy, int angle)

Rotate this item and its child attributes

This function emits the invalidate signal twice for this item and twice for every child attribute.

Not all items support arbitrary rotation. In these cases, the angle specified must be orthagonal.

Parameters:

cx

The x coordinate of the center of rotation

cy

The y coordinate of the center of rotation

angle

The angle to rotate the item