Skip to content

Outline.serialize method

Outline › serialize

Unofficial

Serialize the outline into the PDF page coordinate system.

Signature:

serialize(bbox: [blX: string, blY: string, trX: string, trY: string], rotation: number): void

Parameters:

ParameterTypeDescription
bboxblX: [string, blY: string, trX: string, trY: string]The bounding box as bottom-left and top-right coordinates.
rotationnumberThe page rotation in degrees.

Returns: void