PointerPointProperties.Pressure Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.
public:
property float Pressure { float get(); };
float Pressure();
public float Pressure { get; }
var single = pointerPointProperties.pressure;
Public ReadOnly Property Pressure As Single
Property Value
float
A value from 0 to 1.0. The default value is 0.5.
Remarks
A device reports pressure information through the Human Interface Device (HID) tip pressure usage. Pressure is set through the value of this usage.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla