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

16 lines (15 loc) 598 B
import type { QrCodeMatrix } from "../encode/QrCodeMatrix"; export declare class Neighbors { topLeft: boolean; topRight: boolean; left: boolean; top: boolean; right: boolean; bottomLeft: boolean; bottom: boolean; bottomRight: boolean; constructor(top?: boolean, right?: boolean, bottom?: boolean, left?: boolean, topRight?: boolean, bottomRight?: boolean, bottomLeft?: boolean, topLeft?: boolean); private static emptyInstance; static get empty(): Neighbors; } export declare function getNeighbors(matrix: QrCodeMatrix, i: number, j: number): Neighbors;