Skip to main content

PointerPointProperties Structure

Provides extended properties for a PointerPoint object.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public struct PointerPointProperties : IEquatable<PointerPointProperties>
InheritanceObjectValueType → PointerPointProperties
ImplementsIEquatable(PointerPointProperties)

Constructors

PointerPointProperties()Initializes a new instance of the PointerPointProperties class
PointerPointProperties(RawInputModifiers, PointerUpdateKind)Initializes a new instance of the PointerPointProperties class
PointerPointProperties(RawInputModifiers, PointerUpdateKind, Single, Single, Single, Single)Initializes a new instance of the PointerPointProperties class

Properties

IsBarrelButtonPressedGets a value that indicates whether the barrel button of the pen/stylus device is pressed.
IsEraserGets a value that indicates whether the input is from a pen eraser.
IsInvertedGets a value that indicates whether the digitizer pen is inverted.
IsLeftButtonPressedGets a value that indicates whether the pointer input was triggered by the primary action mode of an input device.
IsMiddleButtonPressedGets a value that indicates whether the pointer input was triggered by the tertiary action mode of an input device.
IsRightButtonPressedGets a value that indicates whether the pointer input was triggered by the secondary action mode (if supported) of an input device.
IsXButton1PressedGets a value that indicates whether the pointer input was triggered by the first extended mouse button (XButton1).
IsXButton2PressedGets a value that indicates whether the pointer input was triggered by the second extended mouse button (XButton2).
None 
PointerUpdateKindGets the kind of pointer state change.
PressureGets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.
TwistGets the clockwise rotation in degrees of a pen device around its own major axis (such as when the user spins the pen in their fingers).
XTiltGets the plane angle between the Y-Z plane and the plane that contains the Y axis and the axis of the input device (typically a pen/stylus).
YTiltGets the plane angle between the X-Z plane and the plane that contains the X axis and the axis of the input device (typically a pen/stylus).

Methods

GetType()Gets the Type of the current instance.
(Inherited from Object)

See Also

Reference

Avalonia.Input Namespace