Skip to content

HighlightOutline.serialize method

HighlightOutline › serialize

Unofficial

Serialize the outlines into the PDF page coordinate system.

Signature:

serialize(bbox: [blX: string, blY: string, trX: string, trY: string], rotation: number): Array<Array<number>>

Parameters:

Parameter Type Description
bbox blX: [string, blY: string, trX: string, trY: string] the bounding box of the annotation.
rotation number the rotation of the annotation.

Returns: Array<Array<number>>Serialized outlines.