LuciadCPillar C# 2024.1.04
Luciad.Input.Mouse.MousePressedEvent Class Reference

Implementation of IInputEvent that represents a mouse pressed. More...

Inheritance diagram for Luciad.Input.Mouse.MousePressedEvent:
Luciad.Input.IInputEvent

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...
 

Detailed Description

Implementation of IInputEvent that represents a mouse pressed.

This class contains the location, the mouse button and the modifiers if any.

Since
2020.1

Constructor & Destructor Documentation

◆ MousePressedEvent()

Luciad.Input.Mouse.MousePressedEvent.MousePressedEvent ( Luciad.Cartesian.Coordinate  location,
Luciad.Input.ModifierKeys  modifierKeys,
Luciad.Input.Mouse.MouseButton  mouseButton 
)
inline

Creates an event representing a mouse button being pressed.

Parameters
locationThe mouse location, defined in device independent pixels.
modifierKeysThe modifiers of the event.
mouseButtonThe mouse button of the event.

Member Function Documentation

◆ Dispose()

void Luciad.Input.Mouse.MousePressedEvent.Dispose ( )
inline

Property Documentation

◆ Location

Luciad.Cartesian.Coordinate Luciad.Input.Mouse.MousePressedEvent.Location
get

The position of the event.

[get]

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.

◆ ModifierKeys

Luciad.Input.ModifierKeys Luciad.Input.Mouse.MousePressedEvent.ModifierKeys
get

The modifiers of the event.

[get]

Returns the modifiers of the event.

◆ MouseButton

Luciad.Input.Mouse.MouseButton Luciad.Input.Mouse.MousePressedEvent.MouseButton
get

The mouse button of the event.

[get]

Returns the mouse button of the event.