Table of Contents

Struct TapInfo

Namespace
Icy.Input.Gestures
Assembly
IcyUI.dll

Describes a tap.

public readonly record struct TapInfo : IEquatable<TapInfo>
Implements
Inherited Members
Extension Methods

Constructors

TapInfo(PointerKind, Point, int)

Describes a tap.

public TapInfo(PointerKind Kind, Point Position, int Count)

Parameters

Kind PointerKind

The pointer that tapped.

Position Point

The tap position, in physical pixels.

Count int

The number of consecutive taps: 2 for a double tap. A tap continues the sequence when it lands within MultiTapDelay and Slop of the previous one.

Properties

Count

The number of consecutive taps: 2 for a double tap. A tap continues the sequence when it lands within MultiTapDelay and Slop of the previous one.

public int Count { get; init; }

Property Value

int

Kind

The pointer that tapped.

public PointerKind Kind { get; init; }

Property Value

PointerKind

Position

The tap position, in physical pixels.

public Point Position { get; init; }

Property Value

Point