Structure

PDFAreaOfInterest

The mouse position over PDF view areas.

Declaration

struct PDFAreaOfInterest

Overview

These constants are components of a bit field and may be combined arbitrarily.

Topics

Constants

static var annotationArea: PDFAreaOfInterest

The mouse is over an annotation.

static var controlArea: PDFAreaOfInterest

The mouse is over a control.

static var textFieldArea: PDFAreaOfInterest

The mouse is over a text field.

static var iconArea: PDFAreaOfInterest

The mouse is over an icon.

static var popupArea: PDFAreaOfInterest

The mouse is over a popup menu.

static var imageArea: PDFAreaOfInterest

The mouse is over an image.

Relationships

Conforms To

See Also

Working with Mouse Position and Events

func areaOfInterest(forMouse: UIEvent) -> PDFAreaOfInterest

Returns the type of area the mouse cursor is over.

func areaOfInterest(for: CGPoint) -> PDFAreaOfInterest

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

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.