mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 04:46:04 +00:00
:octocat: added QRMatrix::M_*_DARK constants for convenience
This commit is contained in:
+2
-2
@@ -34,9 +34,9 @@ $options = new QROptions([
|
||||
'connectPaths' => true,
|
||||
// keep modules of these types as square
|
||||
'keepAsSquare' => [
|
||||
(QRMatrix::M_FINDER|QRMatrix::IS_DARK),
|
||||
QRMatrix::M_FINDER_DARK,
|
||||
QRMatrix::M_FINDER_DOT,
|
||||
(QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK),
|
||||
QRMatrix::M_ALIGNMENT_DARK,
|
||||
],
|
||||
// https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
|
||||
'svgDefs' => '
|
||||
|
||||
Reference in New Issue
Block a user