LuciadCPillar 2023.1.04
|
Implementation of luciad::IInputEvent
that represents a touch drag gesture.
More...
#include <luciad/input/touch/TouchEvents.h>
Public Member Functions | |
TouchDragEvent (Coordinate initialCenterLocation, Coordinate currentCenterLocation, size_t touchPointCount, EventStatus status) | |
Create a touch drag event. More... | |
Coordinate | getCurrentCenterLocation () const |
Coordinate | getInitialCenterLocation () const |
size_t | getTouchPointCount () const |
Public Member Functions inherited from luciad::DragEvent | |
DragEvent (Coordinate location, EventStatus status, Coordinate startLocation) | |
Creates a drag event. More... | |
Coordinate | getLocation () const noexcept |
virtual ModifierKeys | getModifierKeys () const noexcept |
Coordinate | getStartLocation () const noexcept |
EventStatus | getStatus () const noexcept |
Public Member Functions inherited from luciad::IInputEvent | |
virtual | ~IInputEvent ()=default |
Implementation of luciad::IInputEvent
that represents a touch drag gesture.
It contains the initial and the current centroid location of the touch points in addition to the number of touch points currently detected and the current status of the gesture.
|
inline |
Create a touch drag event.
initialCenterLocation | The center location at the beginning of the gesture, defined in device independent pixels. |
currentCenterLocation | The current center location, defined in device independent pixels. |
touchPointCount | How many touch points are used in the gesture. |
status | The status of the gesture. |
|
inline |
|
inline |
|
inline |