PointerEventInit Class
https://w3c.github.io/pointerevents/#pointereventinit-dictionary
public sealed class PointerEventInit : MouseEventInit- Inheritance
MouseEventInitPointerEventInit
Constructors
| Name | Description |
|---|---|
| PointerEventInit() |
PointerEventInit()
PointerEvent.cspublic PointerEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| AltitudeAngle | Gets the altitude, in radians, of the transducer, or null to compute it from the tilt. |
| AzimuthAngle | Gets the azimuth angle, in radians, of the transducer, or null to compute it from the tilt. |
| CoalescedEvents | Gets the events that were coalesced into the event. |
| Height | Gets the height, in CSS pixels, of the contact geometry of the pointer. |
| IsPrimary | Gets a value indicating whether the pointer is the primary pointer of its type. |
| PersistentDeviceId | Gets the identifier of the pointing device that stays the same across the pointers it produces. |
| PointerId | Gets the unique identifier of the pointer. |
| PointerType | Gets the type of the device that produced the event, such as mouse, pen or touch. |
| PredictedEvents | Gets the events that are predicted to follow the event. |
| Pressure | Gets the normalized pressure of the pointer input, between 0 and 1. |
| TangentialPressure | Gets the normalized tangential pressure (barrel pressure) of the pointer input, between -1 and 1. |
| TiltX | Gets the plane angle, in degrees, between the Y-Z plane and the plane containing the transducer axis and the Y axis, or null to compute it from the spherical angles. |
| TiltY | Gets the plane angle, in degrees, between the X-Z plane and the plane containing the transducer axis and the X axis, or null to compute it from the spherical angles. |
| Twist | Gets the clockwise rotation, in degrees, of the transducer around its own major axis. |
| Width | Gets the width, in CSS pixels, of the contact geometry of the pointer. |
AltitudeAngle
PointerEvent.csGets the altitude, in radians, of the transducer, or null to compute it from the tilt.
public double? AltitudeAngle { get; init; }Property value
See also
AzimuthAngle
PointerEvent.csGets the azimuth angle, in radians, of the transducer, or null to compute it from the tilt.
public double? AzimuthAngle { get; init; }CoalescedEvents
PointerEvent.csGets the events that were coalesced into the event.
public IReadOnlyList<PointerEvent> CoalescedEvents { get; init; }Height
PointerEvent.csGets the height, in CSS pixels, of the contact geometry of the pointer.
public double Height { get; init; }IsPrimary
PointerEvent.csGets a value indicating whether the pointer is the primary pointer of its type.
public bool IsPrimary { get; init; }PersistentDeviceId
PointerEvent.csGets the identifier of the pointing device that stays the same across the pointers it produces.
public int PersistentDeviceId { get; init; }Property value
See also
PointerId
PointerEvent.csGets the unique identifier of the pointer.
public int PointerId { get; init; }PointerType
PointerEvent.csGets the type of the device that produced the event, such as mouse, pen or touch.
public string PointerType { get; init; }PredictedEvents
PointerEvent.csGets the events that are predicted to follow the event.
public IReadOnlyList<PointerEvent> PredictedEvents { get; init; }Pressure
PointerEvent.csGets the normalized pressure of the pointer input, between 0 and 1.
public float Pressure { get; init; }TangentialPressure
PointerEvent.csGets the normalized tangential pressure (barrel pressure) of the pointer input, between -1 and 1.
public float TangentialPressure { get; init; }Property value
See also
TiltX
PointerEvent.csGets the plane angle, in degrees, between the Y-Z plane and the plane containing the transducer axis and the Y axis, or null to compute it from the spherical angles.
public int? TiltX { get; init; }TiltY
PointerEvent.csGets the plane angle, in degrees, between the X-Z plane and the plane containing the transducer axis and the X axis, or null to compute it from the spherical angles.
public int? TiltY { get; init; }Twist
PointerEvent.csGets the clockwise rotation, in degrees, of the transducer around its own major axis.
public int Twist { get; init; }Width
PointerEvent.csGets the width, in CSS pixels, of the contact geometry of the pointer.
public double Width { get; init; }