custom-qrcode-browser
Version: 
[](https://github.com/CyrilDesch/custom-qrcode-browser/actions/workflows/continuous-integrations.yaml) [![L
14 lines (13 loc) • 503 B
TypeScript
import { type IQrColor } from "../QrColor";
import type { IQrSVGWithImage } from "../SVGInterfaces";
export declare class QrBackground implements IQrSVGWithImage {
    imageData: string | null;
    sizeRatio: number;
    padding: number;
    color: IQrColor;
    constructor(imageData?: string | null, sizeRatio?: number, padding?: number, color?: IQrColor);
    createSvgElement(mainSvg: SVGElement): SVGElement;
    private createBaseRect;
    private createPattern;
    private createImageElement;
}