![]() |
LuciadCPillar C# 2024.1.04
|
Implementation of IInputEvent
that represents a drag gesture.
More...
Public Member Functions | |
DragEvent (Luciad.Cartesian.Coordinate location, Luciad.Input.EventStatus status, Luciad.Cartesian.Coordinate startLocation) | |
Creates a drag event. More... | |
void | Dispose () |
Properties | |
Luciad.Cartesian.Coordinate | Location [get] |
The position of the event. More... | |
Luciad.Input.ModifierKeys | ModifierKeys [get] |
The modifier keys. More... | |
Luciad.Cartesian.Coordinate | StartLocation [get] |
The initial location of the entire drag gesture. More... | |
Luciad.Input.EventStatus | Status [get] |
The status of the event. More... | |
Implementation of IInputEvent
that represents a drag gesture.
This class contains the current mouse location, the start location and the status of the drag gesture.
|
inline |
Creates a drag event.
location | The current event location, defined in device independent pixels. |
status | The event status. |
startLocation | The location of the first event for this gesture. |
|
inline |
|
get |
The position of the event.
Returns the position of the event. The location is defined in device independent pixel coordinates with top-left corner of the map being the (0,0) position.
|
get |
The modifier keys.
Returns the modifier keys.
|
get |
The initial location of the entire drag gesture.
Returns the initial location of the entire drag gesture. The location is defined in screen coordinates with top-left corner of the map being the (0,0) position.
|
get |
The status of the event.
Returns the status of the event.