| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.4 and later.
|
| Declared in | PDFAnnotationLine.h |
A PDFAnnotationLine object displays a single line on a page.
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.
Returns the line ending style for the ending point of the line.
- (PDFLineStyle)endLineStyle
The line ending style for the ending point of the line.
PDFAnnotationLine.hReturns the ending point for the line in page space.
- (NSPoint)endPoint
The ending point for the line, in page space.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFAnnotationLine.hReturns the color used to fill the ornament at the ends of the line.
- (NSColor *) interiorColor
The color used in the line-end ornament at the ends of the line.
PDFAnnotationLine.hSets the line ending style for the ending point of the line.
- (void)setEndLineStyle:(PDFLineStyle)style
The line ending style for the ending point of the line.
PDFAnnotationLine.hSets the ending point for the line.
- (void)setEndPoint:(NSPoint)point
The ending point for the line, in page space.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFAnnotationLine.hSets the color used to fill the ornament at the ends of the line.
- (void)setInteriorColor:(NSColor *)color
The color to be used to fill in 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).
PDFAnnotationLine.hSets the line ending style for the starting point of the line.
- (void)setStartLineStyle:(PDFLineStyle)style
PDFAnnotationLine.hSets the starting point for the line.
- (void)setStartPoint:(NSPoint)point
The starting point for the line, in page space.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFAnnotationLine.hReturns the line ending style for the starting point of the line.
- (PDFLineStyle)startLineStyle
The line ending style for the starting point of the line.
PDFAnnotationLine.hReturns the starting point for the line.
- (NSPoint)startPoint
The starting point for the line, in page space.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.
PDFAnnotationLine.hThe following constants specify the available line ending styles:
Last updated: 2007-12-11