Pressure Property
Gets the force that the pointer device (typically a pen/stylus) was exerting on the surface of the digitizer when this input occurred.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public float Pressure {
get;
}
Public ReadOnly Property Pressure As Single
Get
member Pressure : float32 with
get
Return Value
Single
A value from 0 to 1.0. The default value is 0.5.