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:

Parameter Type Description
bbox blX: [string, blY: string, trX: string, trY: string] The bounding box as bottom-left and top-right coordinates.
rotation number The page rotation in degrees.

Returns: void