This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/editors/pdf/annotations/pdf-line-annotation.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PdfLineAnnotation

Represents a line annotation.

from nutrient_sdk import PdfLineAnnotation

Inherits from: PdfShapeAnnotation

Construction

PdfLineAnnotation cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.

Properties

end_cap

@property
def end_cap(self) -> PdfLineEndingStyle
@end_cap.setter
def end_cap(self, value: PdfLineEndingStyle) -> None

The line ending style at the end of the line.

Type: PdfLineEndingStyle


end_point

@property
def end_point(self) -> Optional[vec2f]
@end_point.setter
def end_point(self, value: Optional[vec2f]) -> None

The end point of the line.

Type: Optional[vec2f]


start_cap

@property
def start_cap(self) -> PdfLineEndingStyle
@start_cap.setter
def start_cap(self, value: PdfLineEndingStyle) -> None

The line ending style at the start of the line.

Type: PdfLineEndingStyle


start_point

@property
def start_point(self) -> Optional[vec2f]
@start_point.setter
def start_point(self, value: Optional[vec2f]) -> None

The start point of the line.

Type: Optional[vec2f]


Inherited members

From PdfAnnotation: blend_mode, border_effect, border_effect_intensity, border_style, border_width, color, contents, index, is_hidden, is_printable, modification_date, name, rect, sub_type, title

From PdfMarkupAnnotation: creation_date, opacity, rich_text_contents, subject

From PdfShapeAnnotation: interior_color