| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.4 and later.
|
| Declared in | PDFBorder.h |
A PDFBorder object, when used, adds an optional border to an annotation. Borders are drawn completely within the annotation rectangle.
– style
– setStyle:
– lineWidth
– setLineWidth:
– horizontalCornerRadius
– setHorizontalCornerRadius:
– verticalCornerRadius
– setVerticalCornerRadius:
– dashPattern
– setDashPattern:
Gets the dash pattern for the border as an array of NSNumber objects.
- (NSArray *)dashPattern
Refer to the description for NSBezierPath for more information.
PDFBorder.hDraws the border.
- (void)drawInRect:(NSRect)rect
PDFBorder.hGets the horizontal corner radius (in points) used for a rounded-rectangle border.
- (float)horizontalCornerRadius
PDFBorder.hGets the line width for the border, in points.
- (float)lineWidth
PDFBorder.hSets the dash pattern for the border.
- (void)setDashPattern:(NSArray *)pattern
Provide pattern as an array of NSNumber objects. Refer to the description for NSBezierPath for more information.
PDFBorder.hSets the horizontal corner radius (in points) used for a rounded-rectangle border.
- (void)setHorizontalCornerRadius:(float)radius
PDFBorder.hSets the line width (in points) for the border.
- (void)setLineWidth:(float)width
PDFBorder.hSets the border style.
- (void)setStyle:(PDFBorderStyle)style
Refer to “Constants” for the available border styles.
PDFBorder.hSets the vertical corner radius (in points) used for a rounded-rectangle border.
- (void)setVerticalCornerRadius:(float)radius
PDFBorder.hGets the border style.
- (PDFBorderStyle)style
See “Constants” for possible return values.
PDFBorder.hGets the vertical corner radius used for a rounded-rectangle border, in points.
- (float)verticalCornerRadius
PDFBorder.hPDF Kit annotation borders may have the following styles:
Last updated: 2006-05-23