Click or drag to resize

TouchPoint Constructor

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

Namespace:  DotNetBrowser.Input.Touch.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
public TouchPoint(
	int id,
	TouchState state,
	Point locationOnWidget
)

Parameters

id
Type: SystemInt32
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
Type: DotNetBrowser.Input.Touch.EventsTouchState
The state of the touch point.
locationOnWidget
Type: DotNetBrowser.GeometryPoint
The position relative to the bounds of the widget.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe locationOnWidget is null.
See Also