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:

ParameterTypeDescription
bboxblX: [string, blY: string, trX: string, trY: string]the bounding box of the annotation.
rotationnumberthe rotation of the annotation.

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