PencilDoubleTapGestureValue

Describes the value of an Apple Pencil double-tap gesture.

StructureiOS 17.5+macOS 14.5+visionOS 26.2+PencilDoubleTapGestureValue in SwiftUI

Declaration

React
type PencilDoubleTapGestureValue = { readonly hashValue: number; readonly hoverPose: PencilHoverPose | null; };
Swift
struct PencilDoubleTapGestureValue

Properties

  • hashValue*number

    The hash value.

  • hoverPose*PencilHoverPose | null

    The location and distance of an Apple Pencil hovering in the area above the view’s bounds when the double-tap gesture occurred.

Used by

See also

More in Gestures and input.