![]() |
LuciadCPillar C# 2024.1.04
|
Implementation of IInputEvent
that represents a mouse pressed.
More...
Public Member Functions | |
MousePressedEvent (Luciad.Cartesian.Coordinate location, Luciad.Input.ModifierKeys modifierKeys, Luciad.Input.Mouse.MouseButton mouseButton) | |
Creates an event representing a mouse button being pressed. More... | |
void | Dispose () |
Properties | |
Luciad.Cartesian.Coordinate | Location [get] |
The position of the event. More... | |
Luciad.Input.ModifierKeys | ModifierKeys [get] |
The modifiers of the event. More... | |
Luciad.Input.Mouse.MouseButton | MouseButton [get] |
The mouse button of the event. More... | |
Implementation of IInputEvent
that represents a mouse pressed.
This class contains the location, the mouse button and the modifiers if any.
|
inline |
Creates an event representing a mouse button being pressed.
location | The mouse location, defined in device independent pixels. |
modifierKeys | The modifiers of the event. |
mouseButton | The mouse button of the event. |
|
inline |
|
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.
|
get |
The mouse button of the event.
Returns the mouse button of the event.