:octocat: added QRMatrix::M_*_DARK constants for convenience

This commit is contained in:
smiley
2023-03-12 14:32:02 +01:00
parent 428df0d78d
commit 51d7c2b8a3
21 changed files with 270 additions and 251 deletions
+2 -2
View File
@@ -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' => '