Instance Property


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


var hasAppearanceStream: Bool { get }

Return Value

true if the annotation has an appearance stream; otherwise false.


An appearance stream is a sequence of draw instructions used to render a PDF item. If an appearance stream exists, PDF Kit draws the annotation using the stream, which may override existing set parameters (such as the stroke color set with setColor).

See Also

Managing Annotation Display Characteristics

var bounds: CGRect

Returns the bounding box for the annotation in page space.

var border: PDFBorder?

Sets the border style for the annotation.

class PDFBorder

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

var color: UIColor

Sets the stroke color for the annotation.