pdftools_toolbox.pdf.annotations.drawing_annotation

Classes

DrawingAnnotation(handle)

A drawing annotation

class pdftools_toolbox.pdf.annotations.drawing_annotation.DrawingAnnotation(handle)[source]

Bases: MarkupAnnotation

A drawing annotation

An annotation used to draws something on a page.

property paint: Paint

The paint for line stroking and for the popup

Returns:

pdftools_toolbox.pdf.content.paint.Paint

Raises:
property popup: Popup | None

The pop-up

Returns:

Optional[pdftools_toolbox.pdf.annotations.popup.Popup]

Raises:

StateError – if the object has already been closed