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.26.2
Syntax 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 Exception | Condition |
---|
ArgumentNullException | The locationOnWidget is null. |
See Also