Mac OS X Reference Library Apple Developer Connection spyglass button

PDFAnnotationInk 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
PDFAnnotationInk.h
Related sample code

Overview

A PDFAnnotationInk object displays one or more disjoint Bezier paths on a page. This is typically used to represent a freehand jotting or “scribble” of handwritten text.

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

Working with Bezier Paths

Instance Methods

addBezierPath:

Adds a Bezier path to an annotation.

- (void)addBezierPath:(NSBezierPath *)path

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

paths

Returns an array containing the Bezier paths that make up an annotation.

- (NSArray *)paths

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

removeBezierPath:

Removes a Bezier path from an annotation.

- (void)removeBezierPath:(NSBezierPath *)path

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


Last updated: 2006-05-23

Did this document help you? Yes It's good, but... Not helpful...