Instance Method

areaOfInterest(for:)

Returns the type of area for a specific cursor location point.

Declaration

iOS, Mac Catalyst
func areaOfInterest(for cursorLocation: CGPoint) -> PDFAreaOfInterest
macOS
func areaOfInterest(for cursorLocation: NSPoint) -> PDFAreaOfInterest

See Also

Working with Mouse Position and Events

func areaOfInterest(forMouse: UIEvent) -> PDFAreaOfInterest

Returns the type of area the mouse cursor is over.

struct PDFAreaOfInterest

The mouse position over PDF view areas.

func setCursorFor(PDFAreaOfInterest)

Sets the type of mouse cursor according to the type of area the mouse cursor is over.

func perform(PDFAction)

Performs the specified action.

Drag Operations

Define drag operations allowed for a view.