TouchInit Class

https://w3c.github.io/touch-events/#dom-touchinit

public sealed class TouchInit

Constructors

NameDescription
TouchInit()

TouchInit()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public TouchInit()

No documentation is available.

Properties

NameDescription
AltitudeAngleGets the altitude, in radians, of the transducer.
AzimuthAngleGets the azimuth angle, in radians, of the transducer.
ClientXGets the horizontal coordinate of the point relative to the viewport.
ClientYGets the vertical coordinate of the point relative to the viewport.
ForceGets the relative force of the contact, between 0 and 1.
IdentifierGets the identification number of the touch point.
PageXGets the horizontal coordinate of the point relative to the page.
PageYGets the vertical coordinate of the point relative to the page.
RadiusXGets the radius of the ellipse of the contact along its major axis.
RadiusYGets the radius of the ellipse of the contact along its minor axis.
RotationAngleGets the angle, in degrees, of the ellipse of the contact.
ScreenXGets the horizontal coordinate of the point relative to the screen.
ScreenYGets the vertical coordinate of the point relative to the screen.
TargetGets the target of the touch point.
TouchTypeGets the type of the device that produced the touch.

AltitudeAngle

TouchEvents.cs

Gets the altitude, in radians, of the transducer.

public double AltitudeAngle { get; init; }

AzimuthAngle

TouchEvents.cs

Gets the azimuth angle, in radians, of the transducer.

public double AzimuthAngle { get; init; }

Gets the horizontal coordinate of the point relative to the viewport.

public double ClientX { get; init; }

Gets the vertical coordinate of the point relative to the viewport.

public double ClientY { get; init; }

Gets the relative force of the contact, between 0 and 1.

public float Force { get; init; }

Identifier

TouchEvents.cs

Gets the identification number of the touch point.

public required int Identifier { get; init; }

Gets the horizontal coordinate of the point relative to the page.

public double PageX { get; init; }

Gets the vertical coordinate of the point relative to the page.

public double PageY { get; init; }

Gets the radius of the ellipse of the contact along its major axis.

public float RadiusX { get; init; }

Gets the radius of the ellipse of the contact along its minor axis.

public float RadiusY { get; init; }

RotationAngle

TouchEvents.cs

Gets the angle, in degrees, of the ellipse of the contact.

public float RotationAngle { get; init; }

Gets the horizontal coordinate of the point relative to the screen.

public double ScreenX { get; init; }

Gets the vertical coordinate of the point relative to the screen.

public double ScreenY { get; init; }

Gets the target of the touch point.

public required EventTarget Target { get; init; }

Gets the type of the device that produced the touch.

public TouchType TouchType { get; init; }