Touch event listener for the context menus
The constructor
Name | Type | Description |
---|---|---|
menuOperator | BaseContextMenuOperator | A reference to the menuOperator Object |
Event listener method
Name | Type | Description |
---|---|---|
touchEvent | Event | The event to handle |
The X position of the pointer of the previous event
The Y position of the pointer of the previous event
A reference to the menuOperator Object
The maximal difference on the X position between two events
The minimal difference on the Y position between two events