Class

PDFAnnotationMarkup

A PDFAnnotationMarkup object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.

Declaration

class PDFAnnotationMarkup : PDFAnnotation

Overview

The setLineWidth(_:) and setStyle(_:) methods of the annotation’s associated PDFBorder object determines the stroke thickness and style. The setColor(_:) method of the PDFAnnotation class determines the stroke color.

Topics

Working with Markup Boundaries

func quadrilateralPoints() -> [Any]!

Gets the array of quadrilateral points defining the bounds of the markup.

func setQuadrilateralPoints([Any]!)

Sets the array of quadrilateral points defining the bounds of the markup.

Working with Markup Style

Constants

enum PDFMarkupType

The styles available for markup annotations in PDF Kit.

Relationships

Inherits From

See Also

Annotation Types

class PDFAnnotationButtonWidget

A PDFAnnotationButtonWidget object provides user interactivity on a page of a PDF document. There are three types of buttons available: push button, radio button, and checkbox.

Deprecated
class PDFAnnotationChoiceWidget

A PDFAnnotationChoiceWidget object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.

Deprecated
class PDFAnnotationFreeText

A PDFAnnotationFreeText object displays text on a page.

Deprecated
class PDFAnnotationLine

A PDFAnnotationLine object displays a single line on a page.

Deprecated
class PDFAnnotationPopup

A PDFAnnotationPopup object provides user interactivity on a PDF page in the form of a pop-up menu.

Deprecated
class PDFAnnotationStamp

A PDFAnnotationStamp object allows you to display a word or phrase, such as “Confidential,“ in a PDF page.

Deprecated
class PDFAnnotationText

A PDFAnnotationText object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.

Deprecated
class PDFAnnotationTextWidget

A PDFAnnotationTextWidget object allows you to manage the appearance and content of text fields.

Deprecated