PDFBorder 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 | PDFBorder.h |
Overview
A PDFBorder object, when used, adds an optional border to an annotation. Borders are drawn completely within the annotation rectangle.
Tasks
Working with Border Styles and Characteristics
-
– style -
– setStyle: -
– lineWidth -
– setLineWidth: -
– horizontalCornerRadius -
– setHorizontalCornerRadius: -
– verticalCornerRadius -
– setVerticalCornerRadius: -
– dashPattern -
– setDashPattern:
Drawing Borders
Instance Methods
dashPattern
Gets the dash pattern for the border as an array of NSNumber objects.
Discussion
Refer to the description for NSBezierPath for more information.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hdrawInRect:
Draws the border.
Availability
- Available in OS X v10.4 and later.
Declared In
PDFBorder.hhorizontalCornerRadius
Gets the horizontal corner radius (in points) used for a rounded-rectangle border.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hlineWidth
Gets the line width for the border, in points.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hsetDashPattern:
Sets the dash pattern for the border.
Discussion
Provide pattern as an array of NSNumber objects. Refer to the description for NSBezierPath for more information.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hsetHorizontalCornerRadius:
Sets the horizontal corner radius (in points) used for a rounded-rectangle border.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hsetLineWidth:
Sets the line width (in points) for the border.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hsetStyle:
Sets the border style.
Discussion
Refer to “Constants” for the available border styles.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hsetVerticalCornerRadius:
Sets the vertical corner radius (in points) used for a rounded-rectangle border.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hstyle
Gets the border style.
Discussion
See “Constants” for possible return values.
Availability
- Available in OS X v10.4 and later.
See Also
Declared In
PDFBorder.hConstants
PDF Kit annotation borders may have the following styles:
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)