Skip to content

API reference / Common / Engine types / FreeTextAnnotation

Interface: FreeTextAnnotation ​

A free text annotation (Table 174).

It draws as its shape — its box, border, fill, callout and text — and nothing else. The entries beside it, and the /Contents and /RC the annotation holds, are the file's own: read into the shape at import, and kept for a save of the annotation as it was.

Properties ​

PropertyDescription
markup
AnnotationMarkup
-
shape?
ShapeTree
What it draws: a drawing shape tree whose root is its one shape, in page space — its box rect less /RD, its geometry a rectangle or a callout, its line, its fill and its text (Annotation::free_text_shape). May be left out of the InsertAnnotations and UpdateAnnotations wire forms, as a tree whose root id is unset; execution reads one from the entries in its place.
defaultAppearance
DefaultAppearance | null
/DA — the style its text is set in.
justification
| AnnotationTextJustification | null
/Q.
defaultStyle
RichTextStyle | null
/DS — the default style string, as the style it sets.
calloutLine
Point[] | null
/CL — the callout line, two or three points.
lineEnding
| AnnotationLineEnding | null
/LE — the ending at the callout line's start.
borderEffect
AnnotationBorderEffect | null
/BE.
rectDifferences
AnnotationRectDifferences | null
/RD.