Touch Class
https://w3c.github.io/touch-events/#touch-interface
public sealed class TouchConstructors
| Name | Description |
|---|---|
| Touch(TouchInit) | Creates a touch point from the given initialization dictionary. |
Touch(TouchInit)
TouchEvents.csCreates a touch point from the given initialization dictionary.
public Touch(TouchInit touchInitDict)Properties
| Name | Description |
|---|---|
| AltitudeAngle | Gets the altitude, in radians, of the transducer. |
| AzimuthAngle | Gets the azimuth angle, in radians, of the transducer. |
| ClientX | Gets the horizontal coordinate of the point relative to the viewport. |
| ClientY | Gets the vertical coordinate of the point relative to the viewport. |
| Force | Gets the relative force of the contact, between 0 and 1. |
| Identifier | Gets the identification number of the touch point, the same for all the events of the contact. |
| PageX | Gets the horizontal coordinate of the point relative to the page. |
| PageY | Gets the vertical coordinate of the point relative to the page. |
| RadiusX | Gets the radius of the ellipse of the contact along its major axis. |
| RadiusY | Gets the radius of the ellipse of the contact along its minor axis. |
| RotationAngle | Gets the angle, in degrees, of the ellipse of the contact. |
| ScreenX | Gets the horizontal coordinate of the point relative to the screen. |
| ScreenY | Gets the vertical coordinate of the point relative to the screen. |
| Target | Gets the target the touch point started on (even when it moved outside of it). |
| TouchType | Gets the type of the device that produced the touch. |
AltitudeAngle
TouchEvents.csGets the altitude, in radians, of the transducer.
public float AltitudeAngle { get; }AzimuthAngle
TouchEvents.csGets the azimuth angle, in radians, of the transducer.
public float AzimuthAngle { get; }ClientX
TouchEvents.csGets the horizontal coordinate of the point relative to the viewport.
public double ClientX { get; }ClientY
TouchEvents.csGets the vertical coordinate of the point relative to the viewport.
public double ClientY { get; }Force
TouchEvents.csGets the relative force of the contact, between 0 and 1.
public float Force { get; }Identifier
TouchEvents.csGets the identification number of the touch point, the same for all the events of the contact.
public int Identifier { get; }PageX
TouchEvents.csGets the horizontal coordinate of the point relative to the page.
public double PageX { get; }PageY
TouchEvents.csGets the vertical coordinate of the point relative to the page.
public double PageY { get; }RadiusX
TouchEvents.csGets the radius of the ellipse of the contact along its major axis.
public float RadiusX { get; }RadiusY
TouchEvents.csGets the radius of the ellipse of the contact along its minor axis.
public float RadiusY { get; }RotationAngle
TouchEvents.csGets the angle, in degrees, of the ellipse of the contact.
public float RotationAngle { get; }ScreenX
TouchEvents.csGets the horizontal coordinate of the point relative to the screen.
public double ScreenX { get; }ScreenY
TouchEvents.csGets the vertical coordinate of the point relative to the screen.
public double ScreenY { get; }Target
TouchEvents.csGets the target the touch point started on (even when it moved outside of it).
public EventTarget Target { get; }TouchType
TouchEvents.csGets the type of the device that produced the touch.
public TouchType TouchType { get; }