Implementation of luciad::IInputEvent
that represents a pointer being released from a touch surface.
More...
#include <luciad/input/touch/TouchEvents.h>
Implementation of luciad::IInputEvent
that represents a pointer being released from a touch surface.
This class contains the location of the touch point and its identifier.
- Since
- 2022.0
◆ TouchUpEvent()
luciad::TouchUpEvent::TouchUpEvent |
( |
Coordinate |
location, |
|
|
size_t |
id |
|
) |
| |
|
inline |
Creates an event representing a pointer being released from a touch surface.
- Parameters
-
◆ getId()
size_t luciad::TouchUpEvent::getId |
( |
| ) |
const |
|
inline |
- Returns
- The touch device ID, the finger index for example.
◆ getLocation()
Coordinate luciad::TouchUpEvent::getLocation |
( |
| ) |
const |
|
inline |
- Returns
- the position of the event, expressed in device independent pixel coordinates with top-left corner of the map being the (0,0) position.