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) 571 B
import { type IQrPixelShape } from "./QrPixelShape"; import type { IQrSVGShape } from "../SVGInterfaces"; import type { QrShapesDesigner } from "../QrShapesDesigner"; import { type IQrColor } from "../QrColor"; export interface IQrMatrixPixelShape extends IQrSVGShape { } export declare class QrMatrixPixelShape implements IQrMatrixPixelShape { pixelShape: IQrPixelShape; color: IQrColor; constructor(pixelShape?: IQrPixelShape, color?: IQrColor); createSvgElement(x: number, y: number, designer: QrShapesDesigner): SVGElement; private isDarkPixel; }