CPDFLineAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFLineAnnotation.h

Overview

A PDFAnnotationLine object displays a single line on a page.

The setBorderWidth: method of the CPDFAnnotation class determines the stroke thickness. The setColor: method of the CPDFAnnotation class determines the stroke color.

  startPoint

Method to get / set the starting point for the line, in page space.

@property (nonatomic, assign) CGPoint startPoint

Discussion

Method to get / set the starting point for the line, in page space.

Page space is a coordinate system with the origin at the lower-left corner of the current page.

Declared In

CPDFLineAnnotation.h

  endPoint

Method to get / set the ending point for the line in page space.

@property (nonatomic, assign) CGPoint endPoint

Discussion

Method to get / set the ending point for the line in page space.

Page space is a coordinate system with the origin at the lower-left corner of the current page.

Declared In

CPDFLineAnnotation.h

  startLineStyle

Method to get / set the line ending style for the starting point of the line.

@property (nonatomic, assign) CPDFLineStyle startLineStyle

Discussion

Method to get / set the line ending style for the starting point of the line.

See Also

Declared In

CPDFLineAnnotation.h

  endLineStyle

Method to get / set the line ending style for the ending point of the line.

@property (nonatomic, assign) CPDFLineStyle endLineStyle

Discussion

Method to get / set the line ending style for the ending point of the line.

See Also

Declared In

CPDFLineAnnotation.h

  interiorOpacity

Method to get / set the opacity used to fill the ornament at the ends of the line.

@property (nonatomic, assign) CGFloat interiorOpacity

Discussion

Method to get / set the opacity used to fill the ornament at the ends of the line.

The ornament at the end of a line is optional (for more information, see the Adobe PDF Specification 1.4).

Declared In

CPDFLineAnnotation.h

  interiorColor

Method to get / set the color used to fill the ornament at the ends of the line.

@property (nonatomic, retain) CPDFKitPlatformColor *interiorColor

Discussion

Method to get / set the color used to fill the ornament at the ends of the line.

The ornament at the end of a line is optional (for more information, see the Adobe PDF Specification 1.4).

Declared In

CPDFLineAnnotation.h