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
intThe 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
TouchStateThe state of the touch point.
locationOnWidget
PointThe position relative to the bounds of the widget.
Exceptions
- ArgumentNullException
The
locationOnWidget
is null.