Class

PDFBorder

An optional border for an annotation, drawn completely within the annotation rectangle.

Declaration

@interface PDFBorder : NSObject

Topics

Working with border styles and characteristics

style

Sets the border style.

lineWidth

Sets the line width (in points) for the border.

- horizontalCornerRadius

Gets the horizontal corner radius (in points) used for a rounded-rectangle border.

- setHorizontalCornerRadius:

Sets the horizontal corner radius (in points) used for a rounded-rectangle border.

- verticalCornerRadius

Gets the vertical corner radius used for a rounded-rectangle border, in points.

- setVerticalCornerRadius:

Sets the vertical corner radius (in points) used for a rounded-rectangle border.

dashPattern

Gets the dash pattern for the border as an array of NSNumber objects.

Drawing borders

- drawInRect:

Draws the border.

Constants

PDFBorderStyle

PDF Kit annotation borders may have the following styles.

Instance Properties

Relationships

Inherits From

Conforms To

See Also

Annotations

Adding Widgets to a PDF Document

Add text, button, and choice widgets to a PDF document.

Adding Custom Graphics to a PDF

Create and add custom annotation and page graphics to your PDF document.

Custom Graphics

Demonstrates adding a watermark to a PDF page.

PDF Widgets

Demonstrates adding widgets—interactive form elements—to a PDF document.

PDFAnnotation

An annotation in a PDF document.

PDFAction

An action that is performed when, for example, a PDF annotation is activated or an outline item is clicked.

PDFDestination

A PDFDestination object describes a point on a PDF page.

Deprecated Annotations

These symbols are deprecated and should no longer be used.