QRMarkupSVG
Class QRMarkupSVG: Scalable Vector Graphics (SVG) output
Options that affect this module
| property |
type |
$imageBase64 |
bool |
$eol |
string |
$drawLightModules |
bool |
$drawCircularModules |
bool |
$circleRadius |
float |
$keepAsSquare |
array |
$connectPaths |
bool |
$excludeFromConnect |
array |
$cssClass |
string |
$markupDark |
string |
$markupLight |
string |
$svgAddXmlHeader |
bool |
$svgOpacity |
float |
$svgDefs |
string |
$svgViewBoxSize |
int\|null |
$svgPreserveAspectRatio |
string |
$svgWidth |
string\|null |
$svgHeight |
string\|null |
Options that have no effect
| property |
reason |
$returnResource |
N/A |
$bgColor |
background color can be achieved via CSS, <defs> or attributes, see also php-qrcode/discussions/199 (comment) |
$scale |
$scale is intended for raster image types, use $svgViewBoxSize instead |
$imageTransparent |
SVG is transparent by default |