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

Base class for shape annotations (Line, Circle, Square).

from nutrient_sdk import PdfShapeAnnotation

Inherits from: PdfMarkupAnnotation

Construction

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

Properties

interior_color

@property
def interior_color(self) -> Color
@interior_color.setter
def interior_color(self, value: Color) -> None

The interior (fill) color of the shape annotation.

Type: Color


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

Inheritors