PDFiumPathSegment
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.
Accessors
Section titled “Accessors”isClosing
Section titled “isClosing”Get Signature
Section titled “Get Signature”get isClosing():
boolean
Defined in: src/document/page-object.ts:504
Whether this segment closes the current subpath.
Returns
Section titled “Returns”boolean
Get Signature
Section titled “Get Signature”get point():
Point|null
Defined in: src/document/page-object.ts:494
Get the point coordinates of this segment.
Returns
Section titled “Returns”Point | null
Get Signature
Section titled “Get Signature”get type():
PathSegmentType
Defined in: src/document/page-object.ts:499
Get the type of this segment (move, line, bezier).