pressureChange(with:)
Indicates a pressure change as the result of a user input event on a system that supports pressure sensitivity.
Declaration
func pressureChange(with event: NSEvent)Parameters
- event:
An
NSEventobject encapsulating information about the event that invoked the change in pressure.
Discussion
This method is invoked automatically in response to user actions. event is the event that initiated the change in pressure.