mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-26 16:38:10 +00:00
:octocat: removed QROptionsTrait::$markupDark and QROptionsTrait::$markupLight, added QROptionsTrait::$svgUseFillAttributes
This commit is contained in:
+4
-20
@@ -362,17 +362,6 @@ trait QROptionsTrait{
|
||||
*/
|
||||
protected string $cssClass = 'qrcode';
|
||||
|
||||
/**
|
||||
* Markup substitute for dark (CSS value)
|
||||
*/
|
||||
protected string $markupDark = '#000';
|
||||
|
||||
/**
|
||||
* Markup substitute for light (CSS value)
|
||||
*/
|
||||
protected string $markupLight = '#fff';
|
||||
|
||||
|
||||
/*
|
||||
* QRMarkupSVG settings
|
||||
*/
|
||||
@@ -384,15 +373,6 @@ trait QROptionsTrait{
|
||||
*/
|
||||
protected bool $svgAddXmlHeader = true;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
protected float $svgOpacity = 1.0;
|
||||
|
||||
/**
|
||||
* Anything in the SVG `<defs>` tag
|
||||
*
|
||||
@@ -420,6 +400,10 @@ trait QROptionsTrait{
|
||||
*/
|
||||
protected string $svgPreserveAspectRatio = 'xMidYMid';
|
||||
|
||||
/**
|
||||
* Whether to use the SVG `fill` attributes and set them with the given module values
|
||||
*/
|
||||
protected bool $svgUseFillAttributes = true;
|
||||
|
||||
/*
|
||||
* QRString settings
|
||||
|
||||
Reference in New Issue
Block a user