Contents

color

An array of floats or a color object that specifies the annotation’s color.

Declaration

static let color: PDFAnnotationKey

Discussion

Annotations use the color for the following:

  • The background of the annotation’s icon when it’s in a closed state

  • The title bar of the annotation’s pop-up window

  • The border of a link annotation

  • The stroke of a circle, square, or line shape annotation

See Also

Configuring Annotation Appearance