LuciadCPillar C# 2024.1.04
Luciad.Input.DragEvent Class Reference

Implementation of IInputEvent that represents a drag gesture. More...

Inheritance diagram for Luciad.Input.DragEvent:
Luciad.Input.IInputEvent Luciad.Input.Mouse.MouseDragEvent Luciad.Input.Touch.TouchDragEvent

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

Detailed Description

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.

Since
2020.1

Constructor & Destructor Documentation

◆ DragEvent()

Luciad.Input.DragEvent.DragEvent ( Luciad.Cartesian.Coordinate  location,
Luciad.Input.EventStatus  status,
Luciad.Cartesian.Coordinate  startLocation 
)
inline

Creates a drag event.

Parameters
locationThe current event location, defined in device independent pixels.
statusThe event status.
startLocationThe location of the first event for this gesture.

Member Function Documentation

◆ Dispose()

void Luciad.Input.DragEvent.Dispose ( )
inline

Property Documentation

◆ Location

Luciad.Cartesian.Coordinate Luciad.Input.DragEvent.Location
get

The position of the event.

[get]

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.

◆ ModifierKeys

Luciad.Input.ModifierKeys Luciad.Input.DragEvent.ModifierKeys
get

The modifier keys.

[get]

Returns the modifier keys.

◆ StartLocation

Luciad.Cartesian.Coordinate Luciad.Input.DragEvent.StartLocation
get

The initial location of the entire drag gesture.

[get]

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.

◆ Status

Luciad.Input.EventStatus Luciad.Input.DragEvent.Status
get

The status of the event.

[get]

Returns the status of the event.