LineAnnotation

LineAnnotation

Overview

LineAnnotation is a class in Aspose.PDF FOSS for Python. Inherits from: _ShapeAnnotation.

A single line between two points (Line).

This class declares 1 method for LineAnnotation objects in Python programs. Available methods include: set_line. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: end, start.

Properties

NameTypeAccessDescription
starttuple[float, float] | NoneReadWhere the line starts, from /L.
endtuple[float, float] | NoneReadWhere the line ends, from /L.

Methods

SignatureDescription
set_line(start: tuple[float, float], end: tuple[float, float]) → LineAnnotationPut the line between start and end (/L).

See Also