custom-qrcode-browser
Version:
[](https://github.com/CyrilDesch/custom-qrcode-browser/actions/workflows/continuous-integrations.yaml) [![L
16 lines (15 loc) • 480 B
TypeScript
import type { QrCodedText } from "./QrCodedText";
export declare enum PixelType {
DarkPixel = "DarkPixel",
Background = "Background"
}
export declare class QrCodeMatrix {
private matrix;
size: number;
origin: number;
constructor(size: number);
get(i: number, j: number): PixelType;
set(i: number, j: number, type: PixelType): void;
isOutOfBounds(i: number, j: number): boolean;
static fromQrMatrix(byteMatrix: QrCodedText): QrCodeMatrix;
}