Skip to main content

Pressure Property

Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.

Definition

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

public float Pressure {
get;
}

Return Value

Single
A value from 0 to 1.0. The default value is 0.5.

See Also

Reference

PointerPointProperties Structure
Avalonia.Input Namespace