QrSvgOptions
Defined in: src/qr.ts:23
Options for renderQrSvg.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
background? |
string |
Background colour; "transparent" omits the background. Default "#ffffff". |
src/qr.ts:31 |
ecc? |
QrEcc |
Error-correction level. Default "M". |
src/qr.ts:33 |
foreground? |
string |
Module (dark) colour. Default "#000000". |
src/qr.ts:29 |
margin? |
number |
Quiet zone around the code, in modules. Default 2. | src/qr.ts:27 |
size? |
number |
Width and height of the SVG in pixels. Default 256. | src/qr.ts:25 |