Instance Method


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


iOS, Mac Catalyst
func areaOfInterest(for cursorLocation: CGPoint) -> PDFAreaOfInterest
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.