UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

8 lines 1.05 kB
export declare function createImageCanvas(image: HTMLImageElement, width: number, height: number, pixelRatio: number, ptsScale?: number, flip?: "horizontal" | "vertical"): HTMLCanvasElement; export declare function createCurrentCanvas(pixelRatio: number, color?: string, scale?: number, width?: number, height?: number, text?: string, textColor?: string): HTMLCanvasElement; export declare function createTargetCanvas(pixelRatio: number, color?: string, scale?: number): HTMLCanvasElement; export declare function createArrowCurrentCanvas(pixelRatio: number, color?: string, scale?: number): HTMLCanvasElement; export declare function createYahCanvas(pixelRatio: number, color?: string, scale?: number): HTMLCanvasElement; export declare function createLabelCanvas(text: string, fontSize: number, pixelRatio: number, color: string | undefined, fontWeight: number, strokeStyle?: string, strokeWidth?: number): HTMLCanvasElement; export declare function getFont(px: number, weight?: number, style?: string): string; //# sourceMappingURL=canvases.d.ts.map