pdftools_toolbox.pdf.annotations.squiggly

Classes

Squiggly(handle)

A squiggly text underlining annotation

class pdftools_toolbox.pdf.annotations.squiggly.Squiggly(handle)[source]

Bases: TextMarkup

A squiggly text underlining annotation

static create_from_quadrilaterals(target_document: Document, markup_area: QuadrilateralList, paint: Paint) Squiggly[source]

Create a new squiggly underline with defined area

The area to be underlined is defined by the given markupArea. The returned object is associated with the targetDocument but not yet part of any page. It can be added to a page’s list of annotations.

Parameters:
Returns:

The newly created object

Return type:

pdftools_toolbox.pdf.annotations.squiggly.Squiggly

Raises: