![]() |
LuciadCPillar C# 2024.1.04
|
Implementation of IInputEvent
that represents a scroll gesture (for example using the mouse wheel).
More...
Public Member Functions | |
ScrollEvent (Luciad.Cartesian.Coordinate location, Luciad.Input.ModifierKeys modifierKeys, double deltaY) | |
Creates a scroll event. More... | |
void | Dispose () |
Properties | |
double | DeltaY [get] |
The vertical scroll amount and direction. More... | |
Luciad.Cartesian.Coordinate | Location [get] |
The position of the event. More... | |
Luciad.Input.ModifierKeys | ModifierKeys [get] |
The modifiers of the event. More... | |
Implementation of IInputEvent
that represents a scroll gesture (for example using the mouse wheel).
This class contains the location, the scroll amount and direction and modifiers if any.
|
inline |
Creates a scroll event.
location | The location of the event, defined in device independent pixels. |
modifierKeys | The modifiers of the event. |
deltaY | the vertical scroll amount and direction. |
|
inline |
|
get |
The vertical scroll amount and direction.
Returns the vertical scroll amount and direction. A positive value indicates scrolling up, a negative value indicates scrolling down.
A delta of 1.0 (or -1.0) should be interpreted as follows:
|
get |
The position of the event.
Returns the position of the event. It is expressed in device independent pixel coordinates with top-left corner of the map being the (0,0) position.
|
get |
The modifiers of the event.
Returns the modifiers of the event.