pdftools_toolbox.pdf.annotations.drawing_annotation
Classes
|
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:
StateError – if the object has already been closed
pdftools_toolbox.corrupt_error.CorruptError – if the PDF is corrupt and the annotation’s paint cannot be read
- property popup: Popup | None
The pop-up
- Returns:
Optional[pdftools_toolbox.pdf.annotations.popup.Popup]
- Raises:
StateError – if the object has already been closed