Skip to content

PDFiumPathSegment

@scaryterry/pdfium


Defined in: src/document/page-object.ts:481

A segment of a PDF path object.

Represents a single command (move, line, bezier, close) in a path.

get isClosing(): boolean

Defined in: src/document/page-object.ts:504

Whether this segment closes the current subpath.

boolean


get point(): Point | null

Defined in: src/document/page-object.ts:494

Get the point coordinates of this segment.

Point | null


get type(): PathSegmentType

Defined in: src/document/page-object.ts:499

Get the type of this segment (move, line, bezier).

PathSegmentType