Files
med-notes/.pnpm-store/v10/files/37/b06ea39eda71ae9a0a40508f3bae5920cf0cbd9491c7ef21937eba6af1dc3914c99db8d15aaf200be619d562d568010dc125f21c498e9e808d224528853944
2025-05-09 05:30:08 +02:00

45 lines
2.0 KiB
Plaintext

export class FreeHighlightOutliner extends FreeDrawOutliner {
newFreeDrawOutline(outline: any, points: any, box: any, scaleFactor: any, innerMargin: any, isLTR: any): FreeHighlightOutline;
get classNamesForDrawing(): string[];
}
export class HighlightOutliner {
/**
* Construct an outliner.
* @param {Array<Object>} boxes - An array of axis-aligned rectangles.
* @param {number} borderWidth - The width of the border of the boxes, it
* allows to make the boxes bigger (or smaller).
* @param {number} innerMargin - The margin between the boxes and the
* outlines. It's important to not have a null innerMargin when we want to
* draw the outline else the stroked outline could be clipped because of its
* width.
* @param {boolean} isLTR - true if we're in LTR mode. It's used to determine
* the last point of the boxes.
*/
constructor(boxes: Array<Object>, borderWidth?: number, innerMargin?: number, isLTR?: boolean);
getOutlines(): HighlightOutline;
#private;
}
import { FreeDrawOutliner } from "./freedraw.js";
declare class FreeHighlightOutline extends FreeDrawOutline {
get classNamesForDrawing(): string[];
get classNamesForOutlining(): string[];
newOutliner(point: any, box: any, scaleFactor: any, thickness: any, isLTR: any, innerMargin?: number): FreeHighlightOutliner;
}
declare class HighlightOutline extends Outline {
constructor(outlines: any, box: any);
/**
* Serialize the outlines into the PDF page coordinate system.
* @param {Array<number>} _bbox - the bounding box of the annotation.
* @param {number} _rotation - the rotation of the annotation.
* @returns {Array<Array<number>>}
*/
serialize([blX, blY, trX, trY]: Array<number>, _rotation: number): Array<Array<number>>;
get box(): any;
get classNamesForDrawing(): string[];
get classNamesForOutlining(): string[];
#private;
}
import { FreeDrawOutline } from "./freedraw.js";
import { Outline } from "./outline.js";
export {};