pdftools_toolbox.pdf.annotations.text_markup

Classes

TextMarkup(handle)

An annotation that marks up part(s) of a text

class pdftools_toolbox.pdf.annotations.text_markup.TextMarkup(handle)[source]

Bases: MarkupAnnotation

An annotation that marks up part(s) of a text

property paint: Paint

The paint the annotation and 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

property markup_area: QuadrilateralList

The markup area

This list of pdftools_toolbox.geometry.real.quadrilateral.Quadrilateral s defines the markup area on the page.

Returns:

pdftools_toolbox.geometry.real.quadrilateral_list.QuadrilateralList

Raises: