|
LuciadCPillar C# 2025.0.12
|
Basic gesture handler dedicated to translate drag gesture events to a pan operation. More...
Public Member Functions | |
| PanEventHandler () | |
| Creates a new instance. | |
| void | Dispose () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| Luciad.Controllers.EventResult | OnDragEvent (Luciad.Input.DragEvent dragEvent, Luciad.Maps.Map map) |
| Moves the map's camera following the drag direction. | |
Basic gesture handler dedicated to translate drag gesture events to a pan operation.
|
inline |
Creates a new instance.
|
inline |
|
inline |
|
inline |
|
inline |
Moves the map's camera following the drag direction.
The drag event is consumed only if the sequence of events is the following : a EventStatus.Start event, 0 or more EventStatus.InProgress event and finally a EventStatus.End event. If the sequence is not correct, this method returns EventResult.NotConsumed.
| dragEvent | a drag event. Cannot be null. |
| map | the map. Cannot be null. |
| System.ArgumentNullException | when passing null for the map or the event. |