Table of Contents

Constructor TouchPoint

Namespace
DotNetBrowser.Input.Touch.Events
Assembly
DotNetBrowser.dll

TouchPoint(int, TouchState, Point)

Initializes a new instance of TouchPoint with the specified identifier, state, and location.

public TouchPoint(int id, TouchState state, Point locationOnWidget)

Parameters

id int

The touch point identifier. If this instance denotes a new touch point, its identifier should be a unique integer value.If this instance denotes an already existing point that we want to move, end or cancel, its identifier should be equal to the identifier of that existing touch point.

state TouchState

The state of the touch point.

locationOnWidget Point

The position relative to the bounds of the widget.

Exceptions

ArgumentNullException

The locationOnWidget is null.