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

11 lines (10 loc) 371 B
import type { QrShapesDesigner } from "./QrShapesDesigner"; export interface IQrSVGShape { createSvgElement(x: number, y: number, designer: QrShapesDesigner): SVGElement; } export interface IQrSVGWithImage { imageData: string | null; sizeRatio: number; padding: number; createSvgElement(mainSvg: SVGElement, designer: QrShapesDesigner): SVGElement; }