UNPKG

custom-qrcode-browser

Version:

[![Continuous Integrations](https://github.com/CyrilDesch/custom-qrcode-browser/actions/workflows/continuous-integrations.yaml/badge.svg?branch=main)](https://github.com/CyrilDesch/custom-qrcode-browser/actions/workflows/continuous-integrations.yaml) [![L

14 lines (13 loc) 503 B
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; }