pdftools_toolbox.pdf.annotations.strike_through

Classes

StrikeThrough(handle)

An annotation for striking through text

class pdftools_toolbox.pdf.annotations.strike_through.StrikeThrough(handle)[source]

Bases: TextMarkup

An annotation for striking through text

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

Create a new strike-through with defined area

The area to be striked through 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.strike_through.StrikeThrough

Raises: