PDFAnnotationMarkup Class Reference
| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in OS X v10.4 and later. |
| Declared in | PDFAnnotationMarkup.h |
Overview
A PDFAnnotationMarkup object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.
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.
Instance Methods
markupType
Gets the markup style.
Discussion
Refer to “Constants” for the available markup styles.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationMarkup.hquadrilateralPoints
Gets the array of quadrilateral points defining the bounds of the markup.
Discussion
Each quadrilateral encompasses a word or a contiguous group of words. The quadrilateral points are ordered counterclockwise, with the first point closest to the origin in page space.
Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationMarkup.hsetMarkupType:
Sets the markup style.
Discussion
Refer to “Constants” for the available markup styles.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationMarkup.hsetQuadrilateralPoints:
Sets the array of quadrilateral points defining the bounds of the markup.
Discussion
The points defined by each quadrilateral array should encompass a word or a contiguous group of words. The quadrilateral points are ordered counterclockwise, with the first point closest to the origin in page space.
Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFAnnotationMarkup.hConstants
The styles available for markup annotations in PDF Kit:
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)