rotate


Description:

public virtual signal bool rotate (Actor actor, double angle)

The rotate signal is emitted when a rotate gesture is recognized on the attached actor and when the gesture is cancelled (in this case with an angle value of 0).

Parameters:

actor

the Actor attached to the action

angle

the difference of angle of rotation between the initial rotation and the current rotation

Returns:

true if the rotation should continue, and false if the rotation should be cancelled.