@qr-platform/qr-code.js
Version:
QRCode.js is a professional JavaScript/TypeScript library for creating customized QR codes, offering a blend of simplicity and sophistication. With versatile styling options—dot shapes, colors, gradients, embedded images, borders, and text—it enables you
25 lines (24 loc) • 730 B
TypeScript
import { DrawArgs } from '../types/helper.js';
import { CornerSquareType } from '../utils/options.js';
export declare class QRCornerSquare {
private readonly type;
private readonly document;
private _element?;
private _fill?;
get element(): SVGElement | undefined;
get fill(): SVGElement | undefined;
constructor(type: `${CornerSquareType}`, document: Document);
draw(args: DrawArgs): void;
private rotateFigure;
private basicDot;
private basicSquare;
private basicExtraRounded;
private basicClassy;
private basicInpoint;
private drawDot;
private drawSquare;
private drawExtraRounded;
private drawClassy;
private drawInpoint;
private drawOutpoint;
}