Informs the user that a tablet-point event occurred.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
func tabletPoint(with event: NSEvent)
Parameters
event
An object encapsulating information about the tablet-point event. Tablet-point events describe the current state of a pointing device that is in proximity to its tablet, reflecting changes such as location, pressure, tilt, and rotation. For more information, see
NSEvent
.
Discussion
The default implementation of this method does nothing. Use this method to update the state of your gesture recognizer in whatever way is appropriate.
A gesture recognizer monitors events that occur in its view (and any subviews) but does not take part in the responder chain itself. The gesture recognizer receives events before any views do.