PointerEventInit Class

https://w3c.github.io/pointerevents/#pointereventinit-dictionary

public sealed class PointerEventInit : MouseEventInit
Inheritance
MouseEventInit PointerEventInit

Constructors

NameDescription
PointerEventInit()

PointerEventInit()

PointerEvent.cs
public PointerEventInit()

No documentation is available.

Properties

NameDescription
AltitudeAngleGets the altitude, in radians, of the transducer, or null to compute it from the tilt.
AzimuthAngleGets the azimuth angle, in radians, of the transducer, or null to compute it from the tilt.
CoalescedEventsGets the events that were coalesced into the event.
HeightGets the height, in CSS pixels, of the contact geometry of the pointer.
IsPrimaryGets a value indicating whether the pointer is the primary pointer of its type.
PersistentDeviceIdGets the identifier of the pointing device that stays the same across the pointers it produces.
PointerIdGets the unique identifier of the pointer.
PointerTypeGets the type of the device that produced the event, such as mouse, pen or touch.
PredictedEventsGets the events that are predicted to follow the event.
PressureGets the normalized pressure of the pointer input, between 0 and 1.
TangentialPressureGets the normalized tangential pressure (barrel pressure) of the pointer input, between -1 and 1.
TiltXGets 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.
TiltYGets 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.
TwistGets the clockwise rotation, in degrees, of the transducer around its own major axis.
WidthGets the width, in CSS pixels, of the contact geometry of the pointer.

AltitudeAngle

PointerEvent.cs

Gets the altitude, in radians, of the transducer, or null to compute it from the tilt.

public double? AltitudeAngle { get; init; }

AzimuthAngle

PointerEvent.cs

Gets the azimuth angle, in radians, of the transducer, or null to compute it from the tilt.

public double? AzimuthAngle { get; init; }

CoalescedEvents

PointerEvent.cs

Gets the events that were coalesced into the event.

public IReadOnlyList<PointerEvent> CoalescedEvents { get; init; }

Gets the height, in CSS pixels, of the contact geometry of the pointer.

public double Height { get; init; }

Gets a value indicating whether the pointer is the primary pointer of its type.

public bool IsPrimary { get; init; }

PersistentDeviceId

PointerEvent.cs

Gets the identifier of the pointing device that stays the same across the pointers it produces.

public int PersistentDeviceId { get; init; }

Gets the unique identifier of the pointer.

public int PointerId { get; init; }

PointerType

PointerEvent.cs

Gets the type of the device that produced the event, such as mouse, pen or touch.

public string PointerType { get; init; }

PredictedEvents

PointerEvent.cs

Gets the events that are predicted to follow the event.

public IReadOnlyList<PointerEvent> PredictedEvents { get; init; }

Gets the normalized pressure of the pointer input, between 0 and 1.

public float Pressure { get; init; }

TangentialPressure

PointerEvent.cs

Gets the normalized tangential pressure (barrel pressure) of the pointer input, between -1 and 1.

public float TangentialPressure { get; init; }

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.

public int? TiltX { get; init; }

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.

public int? TiltY { get; init; }

Gets the clockwise rotation, in degrees, of the transducer around its own major axis.

public int Twist { get; init; }

Gets the width, in CSS pixels, of the contact geometry of the pointer.

public double Width { get; init; }