Expand description
Ink annotation builder (ISO 32000-1 §12.5.6.13).
An ink annotation represents freeform “handwritten” scribbles or graffiti on a PDF page. This module provides an API to construct ink annotations from a series of strokes (polylines in page space) and serialize them into the PDF dictionary + appearance stream format required by the specification.
Structs§
- InkAnnot
Dict - The fields of an ink annotation dictionary, ready for serialization.
- InkAnnotation
Builder - Builder for ink annotations. Accumulates strokes (each stroke is a polyline
of
(x, y)points in page space, origin bottom-left) and produces a PDF annotation dictionary plus its appearance stream.