Optionalcolor?: ColorThe annotation color, it used as color of popup window, lines color etc.
OptionalcreationDate?: PdfDateTimeThe date and time when the annotation was created.
Optionalopacity?: numberThe opacity value to be used in painting the annotation. This value applies to all visible elements of the annotation in its closed state (including its background and border) but not to the pop-up window that appears when the annotation is opened. Not specified means 1 (means 100% opacity)
Optionalpopup?: PopupAnnotation | PopupAnnotationPropertiesThe PopupAnnotation or PopupAnnotationProperties object for entering or editing text associated with this annotation. Setting this property changes the PopupAnnotation#parent property. A separate PopupAnnotation allows defining additional properties of the popup window: color, position etc.
Optionalreference?: { target: MarkupAnnotation; type?: AnnotationReferenceType }The annotation referenced by this annotation.
The annotation referenced by this annotation.
Optionaltype?: AnnotationReferenceTypeThe relationship (reference type) between this annotation and the annotation specified by the 'target' property. The referenced annotation should be on the same page with the current annotation. Not specified means "Reply".
OptionalrichText?: stringThe text to be displayed in the pop-up window when the annotation is opened. This text can be formatted using HTML tags, see PDF specification for details.
Optionalsubject?: stringThe text representing a short description of the subject being addressed by the annotation.
OptionaluserName?: stringThe text label to be displayed in the title bar of the annotation's pop-up window when open and active. By convention, this entry identifies the user who added the annotation.
The common properties for markup annotations that are used primarily to mark up PDF documents.