Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
Gondwana.Input.Touch.Gestures.TappedEventArgs Class Referencesealed

Provides data for the TapGestureRecognizer.Tapped event, including the screen position where the tap occurred. More...

Inheritance diagram for Gondwana.Input.Touch.Gestures.TappedEventArgs:

Public Member Functions

 TappedEventArgs (int touchId, Point position)
 Initializes a new instance of the TappedEventArgs class.

Properties

Point Position [get]
 Gets the position of the tap in client (control-local) coordinates.
int TouchId [get]
 Gets the identifier of the touch contact point that triggered the tap. On desktop, mouse-emulated taps always use Id = 0.

Detailed Description

Provides data for the TapGestureRecognizer.Tapped event, including the screen position where the tap occurred.

Definition at line 9 of file TappedEventArgs.cs.

Constructor & Destructor Documentation

◆ TappedEventArgs()

Gondwana.Input.Touch.Gestures.TappedEventArgs.TappedEventArgs ( int touchId,
Point position )

Initializes a new instance of the TappedEventArgs class.

Parameters
touchIdThe identifier of the touch contact that triggered the tap.
positionThe position of the tap in client coordinates.

Definition at line 27 of file TappedEventArgs.cs.

Property Documentation

◆ Position

Point Gondwana.Input.Touch.Gestures.TappedEventArgs.Position
get

Gets the position of the tap in client (control-local) coordinates.

Definition at line 14 of file TappedEventArgs.cs.

◆ TouchId

int Gondwana.Input.Touch.Gestures.TappedEventArgs.TouchId
get

Gets the identifier of the touch contact point that triggered the tap. On desktop, mouse-emulated taps always use Id = 0.

Definition at line 20 of file TappedEventArgs.cs.