LuciadCPillar C# 2024.1.04
Luciad.Input.Touch.TouchTapEvent Class Reference

Specialization of the ClickEvent class for touch events. More...

Inheritance diagram for Luciad.Input.Touch.TouchTapEvent:
Luciad.Input.ClickEvent Luciad.Input.IInputEvent

Public Member Functions

 TouchTapEvent (Luciad.Cartesian.Coordinate location, uint tapCount, uint touchPointCount, Luciad.Input.ModifierKeys modifierKeys)
 Creates a click event for a touch device. More...
 
- Public Member Functions inherited from Luciad.Input.ClickEvent
 ClickEvent (Luciad.Cartesian.Coordinate location, uint clickCount)
 Creates an event representing a click. More...
 
 ClickEvent (Luciad.Cartesian.Coordinate location, uint clickCount, Luciad.Input.ModifierKeys modifierKeys)
 Creates an event representing a click. More...
 
void Dispose ()
 

Properties

uint TouchPointCount [get]
 The amount of touch points that are used. More...
 
- Properties inherited from Luciad.Input.ClickEvent
uint ClickCount [get]
 The amount of clicks. More...
 
Luciad.Cartesian.Coordinate Location [get]
 The position of the event. More...
 
Luciad.Input.ModifierKeys ModifierKeys [get]
 The modifiers of the event. More...
 

Detailed Description

Specialization of the ClickEvent class for touch events.

Since
2022.0

Constructor & Destructor Documentation

◆ TouchTapEvent()

Luciad.Input.Touch.TouchTapEvent.TouchTapEvent ( Luciad.Cartesian.Coordinate  location,
uint  tapCount,
uint  touchPointCount,
Luciad.Input.ModifierKeys  modifierKeys 
)
inline

Creates a click event for a touch device.

Parameters
locationThe location of the event, defined in device independent pixels
tapCountThe number of taps.
touchPointCountHow many touch points are used in the gesture.
modifierKeysThe modifiers of the event.

Property Documentation

◆ TouchPointCount

uint Luciad.Input.Touch.TouchTapEvent.TouchPointCount
get

The amount of touch points that are used.

[get]

Returns the amount of touch points that are used.

Note
: currently, TouchGestureRecognizer does not support tap events with more than one touch point.