Instance Property

color

Sets the stroke color for the annotation.

Declaration

iOS, Mac Catalyst
@property(nonatomic, copy) UIColor *color;
macOS
@property(nonatomic, copy) NSColor *color;

Parameters

color

The stroke color for the annotation.

Discussion

Where this color is used depends on the annotation type.

See Also

Managing Annotation Display Characteristics

bounds

Returns the bounding box for the annotation in page space.

border

Sets the border style for the annotation.

PDFBorder

An optional border for an annotation, drawn completely within the annotation rectangle.

hasAppearanceStream

Returns a Boolean value that indicates whether the annotation has an appearance stream associated with it.