# wx.RotateGestureEvent¶

This event is generated when two fingers move in opposite directions on the surface.

^^

## Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.RotateGestureEvent parameter.

• EVT_GESTURE_ROTATE: Process a wxEVT_GESTURE_ROTATE . ^^

New in version 4.1/wxWidgets-3.1.1.

## Class Hierarchy¶

Inheritance diagram for class RotateGestureEvent:

## Methods Summary¶

 __init__ Constructor. GetRotationAngle Returns the total angle of rotation in radians in clockwise direction since the gesture was first started i.e. SetRotationAngle Sets the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.

## Class API¶

class wx.RotateGestureEvent(GestureEvent)

Possible constructors:

RotateGestureEvent(windid=0)


This event is generated when two fingers move in opposite directions on the surface.

### Methods¶

__init__(self, windid=0)

Constructor.

Parameters

windid (wx.WindowID) –

GetRotationAngle(self)

Returns the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.

when IsGestureStart returned True. This value is always greater than or equal to zero.

Return type

float

SetRotationAngle(self, rotationAngle)

Sets the total angle of rotation in radians in clockwise direction since the gesture was first started i.e.

when IsGestureStart returned True. This value is always greater than or equal to zero.

Parameters

rotationAngle (float) –

### Properties¶

RotationAngle