Instance Property

rotation

The rotation in degrees of the tablet pointing device associated with this event.

Declaration

var rotation: Float { get }

Discussion

Many devices do not support rotation, in which case the returned value is 0.0. This property is valid only for mouse events with subtype NSTabletPointEventSubtype and for NSTabletPoint events.

See Also

Getting Tablet Pointing Information

var absoluteX: Int

The absolute x coordinate of a pointing device on its tablet at full tablet resolution.

var absoluteY: Int

The absolute y coordinate of a pointing device on its tablet at full tablet resolution.

var absoluteZ: Int

The absolute z coordinate of pointing device on its tablet at full tablet resolution.

var buttonMask: NSEvent.ButtonMask

A bit mask identifying the buttons pressed for a tablet event.

var tangentialPressure: Float

The tangential pressure on the device that generated this event.

var tilt: NSPoint

The scaled tilt values of the pointing device that generated this event.

var vendorDefined: Any

An array of three vendor-defined NSNumber objects associated with a pointing-type event.