This commit is contained in:
smiley
2023-10-16 20:35:06 +02:00
parent 59d8132392
commit 6a26d3afb8
4 changed files with 264 additions and 28 deletions
+6 -28
View File
@@ -341,16 +341,6 @@ Imagick output format
A common css class
## markupDark
Markup substitute for dark (CSS value)
## markupLight
Markup substitute for light (CSS value)
## svgAddXmlHeader
Whether to add an XML header line or not, e.g. to embed the SVG directly in HTML
@@ -358,15 +348,6 @@ Whether to add an XML header line or not, e.g. to embed the SVG directly in HTML
`<?xml version="1.0" encoding="UTF-8"?>`
## svgOpacity
SVG path opacity
Sets the value for the SVG "fill-opacity" on a `<path>` element. Only in effect when non-empty values
for `QROptions::$markupDark` and `QROptions::$markupLight` are given.
The opacity value is the same for all paths - please use CSS for more sophisticated implementations.
## svgDefs
Anything in the SVG `<defs>` tag
@@ -385,19 +366,16 @@ Sets the value for the "preserveAspectRatio" on the `<svg>` element
- [developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio)
## textDark
## svgUseFillAttributes
String substitute for dark
Whether to use the SVG `fill` attributes
If set to `true` (default), the `fill` attribute will be set with the module value for the `<path>` element's `$M_TYPE`.
When set to `false`, the module values map will be ignored and the QR Code may be styled via CSS.
**See also:**
- [en.wikipedia.org/wiki/Block_Elements](https://en.wikipedia.org/wiki/Block_Elements)
- [en.wikipedia.org/wiki/ANSI_escape_code#8-bit](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit)
## textLight
String substitute for light
- [developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill)
## textLineStart