Class

PDFAnnotationLine

A PDFAnnotationLine object displays a single line on a page.

Declaration

@interface PDFAnnotationLine : 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

Specifying the Starting and Ending Points

- startPoint

Returns the starting point for the line.

- setStartPoint:

Sets the starting point for the line.

- endPoint

Returns the ending point for the line in page space.

- setEndPoint:

Sets the ending point for the line.

Specifying the Line Ending Styles

- startLineStyle

Returns the line ending style for the starting point of the line.

- setStartLineStyle:

Sets the line ending style for the starting point of the line.

- endLineStyle

Returns the line ending style for the ending point of the line.

- setEndLineStyle:

Sets the line ending style for the ending point of the line.

Specifying the Color of Line-end Ornaments

- interiorColor

Returns the color used to fill the ornament at the ends of the line.

- setInteriorColor:

Sets the color used to fill the ornament at the ends of the line.

Constants

PDFLineStyle

The following constants specify the available line ending styles.

Relationships

Inherits From

Conforms To

See Also

Annotation Types

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
PDFAnnotationChoiceWidget

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

Deprecated
PDFAnnotationFreeText

A PDFAnnotationFreeText object displays text on a page.

Deprecated
PDFAnnotationMarkup

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

Deprecated
PDFAnnotationPopup

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

Deprecated
PDFAnnotationStamp

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

Deprecated
PDFAnnotationText

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

Deprecated
PDFAnnotationTextWidget

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

Deprecated