PDFAnnotationSquare Class Reference

Inherits from
Conforms to
Framework
Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework
Availability
Available in Mac OS X v10.4 and later.
Declared in
PDFAnnotationSquare.h
Related sample code

Overview

A PDFAnnotationSquare object displays a rectangle on a page. Square annotations are like circle annotations (instances of the PDFAnnotationCircle class) apart from the shape.

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.

Tasks

Accessor Methods

Instance Methods

interiorColor

Gets the fill color used for drawing the annotation.

- (NSColor *)interiorColor

Availability
  • Available in Mac OS X v10.4 and later.
See Also
Declared In
PDFAnnotationSquare.h

setInteriorColor:

Sets the fill color used for drawing the annotation.

- (void)setInteriorColor:(NSColor *)color

Availability
  • Available in Mac OS X v10.4 and later.
See Also
Declared In
PDFAnnotationSquare.h


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)