@nightlylabs/qr-code
Advanced tools
Comparing version 1.0.17 to 1.0.18
import { ImageSizeResult } from "../tools/calculateImageSize"; | ||
import { BasicFigureDrawArgs, QRCode } from "../types"; | ||
interface DrawArgsWithColor extends BasicFigureDrawArgs { | ||
color: string; | ||
} | ||
export declare const rotationString: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string; | ||
export declare const tearCornerDot: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string; | ||
export declare const tearCornerSquare: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string; | ||
export declare const distRoundedDot: ({ x, y, size, rotation, }: BasicFigureDrawArgs) => string; | ||
export declare const tearCornerDot: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string; | ||
export declare const tearCornerSquare: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string; | ||
export declare const distRoundedDot: ({ x, y, size, rotation, color, }: DrawArgsWithColor) => string; | ||
export declare const centerImage: ({ qrWidth, qrHeight, width, height, count, dotSize, image, imageMargin, }: { | ||
@@ -25,9 +28,4 @@ qrWidth: number; | ||
}) => string; | ||
export declare const drawDots: (qr: QRCode, width: number, height: number, margin: number, color: string, hideBackgroundDots: boolean, count: number, drawImageSize: ImageSizeResult) => { | ||
defs: string[]; | ||
paths: string[]; | ||
}; | ||
export declare const drawCorners: (width: number, height: number, margin: number, squareColor: string, dotColor: string, count: number) => { | ||
defs: string[]; | ||
paths: string[]; | ||
}; | ||
export declare const drawDots: (qr: QRCode, width: number, height: number, margin: number, color: string, hideBackgroundDots: boolean, count: number, drawImageSize: ImageSizeResult) => string[]; | ||
export declare const drawCorners: (width: number, height: number, margin: number, squareColor: string, dotColor: string, count: number) => string[]; | ||
export {}; |
{ | ||
"name": "@nightlylabs/qr-code", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "Nightly QR codes generator", | ||
@@ -5,0 +5,0 @@ "main": "lib/nightly-qr-code.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
503993
1077