/// Provides extended properties for a PointerPoint object.
/// </summary>
publicsealedclassPointerPointProperties
publicstructPointerPointProperties
{
/// <summary>
/// Gets a value that indicates whether the pointer input was triggered by the primary action mode of an input device.
/// </summary>
publicboolIsLeftButtonPressed{get;}
publicboolIsLeftButtonPressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the pointer input was triggered by the tertiary action mode of an input device.
/// </summary>
publicboolIsMiddleButtonPressed{get;}
publicboolIsMiddleButtonPressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the pointer input was triggered by the secondary action mode (if supported) of an input device.
/// </summary>
publicboolIsRightButtonPressed{get;}
publicboolIsRightButtonPressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the pointer input was triggered by the first extended mouse button (XButton1).
/// </summary>
publicboolIsXButton1Pressed{get;}
publicboolIsXButton1Pressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the pointer input was triggered by the second extended mouse button (XButton2).
/// </summary>
publicboolIsXButton2Pressed{get;}
publicboolIsXButton2Pressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the barrel button of the pen/stylus device is pressed.
/// </summary>
publicboolIsBarrelButtonPressed{get;}
publicboolIsBarrelButtonPressed{get;}=false;
/// <summary>
/// Gets a value that indicates whether the input is from a pen eraser.
/// </summary>
publicboolIsEraser{get;}
publicboolIsEraser{get;}=false;
/// <summary>
/// Gets a value that indicates whether the digitizer pen is inverted.
/// </summary>
publicboolIsInverted{get;}
publicboolIsInverted{get;}=false;
/// <summary>
/// Gets 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).
@ -81,7 +81,7 @@ namespace Avalonia.Input
/// <returns>
/// A value between 0.0 and 359.0 in degrees of rotation. The default value is 0.0.
/// </returns>
publicfloatTwist{get;}
publicfloatTwist{get;}=0.0F;
/// <summary>
/// Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.
@ -97,7 +97,7 @@ namespace Avalonia.Input
/// <returns>
/// The value is 0.0 when the finger or pen is perpendicular to the digitizer surface, between 0.0 and 90.0 when tilted to the right of perpendicular, and between 0.0 and -90.0 when tilted to the left of perpendicular. The default value is 0.0.
/// </returns>
publicfloatXTilt{get;}
publicfloatXTilt{get;}=0.0F;
/// <summary>
/// Gets 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).
@ -105,14 +105,14 @@ namespace Avalonia.Input
/// <returns>
/// The value is 0.0 when the finger or pen is perpendicular to the digitizer surface, between 0.0 and 90.0 when tilted towards the user, and between 0.0 and -90.0 when tilted away from the user. The default value is 0.0.