AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9.2" />

.NET API 1,223,680 bytes

 TouchEvent

public class TouchEvent : UiEvent
Represents the event arguments for a touch event.
public ITouchList ChangedTouches { get; }

Gets a list with changed touch points.

public bool IsAltPressed { get; }

Gets if the alt key is pressed.

public bool IsCtrlPressed { get; }

Gets if the control key is pressed.

public bool IsMetaPressed { get; }

Gets if the meta key is pressed.

public bool IsShiftPressed { get; }

Gets if the shift key is pressed.

public ITouchList TargetTouches { get; }

Gets a list with touch points over the target.

public ITouchList Touches { get; }

Gets a list with all active touch points.

public TouchEvent()

Creates a new event.

public TouchEvent(string type, bool bubbles = false, bool cancelable = false, IWindow view = null, int detail = 0, ITouchList touches = null, ITouchList targetTouches = null, ITouchList changedTouches = null, bool ctrlKey = false, bool altKey = false, bool shiftKey = false, bool metaKey = false)

Creates a new event and initializes it.

public void Init(string type, bool bubbles, bool cancelable, IWindow view, int detail, ITouchList touches, ITouchList targetTouches, ITouchList changedTouches, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)

Initializes the focus event.