:octocat: QRMatrix: +convenience contstants M_QUIETZONE_DARK & M_LOGO_DARK

This commit is contained in:
smiley
2023-06-13 15:42:02 +02:00
parent 2dc6dce237
commit a031b4702e
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -56,8 +56,12 @@ class QRMatrix{
/** @var int */
public const M_QUIETZONE = 0b000100000000;
/** @var int */
public const M_QUIETZONE_DARK = 0b100100000000;
/** @var int */
public const M_LOGO = 0b001000000000;
/** @var int */
public const M_LOGO_DARK = 0b101000000000;
/** @var int */
public const M_FINDER_DOT = 0b110000000000;
/** @var int */
public const M_TEST = 0b011111111111;
+2
View File
@@ -82,6 +82,8 @@ interface QROutputInterface{
QRMatrix::M_TIMING_DARK => true,
QRMatrix::M_FORMAT_DARK => true,
QRMatrix::M_VERSION_DARK => true,
QRMatrix::M_QUIETZONE_DARK => true,
QRMatrix::M_LOGO_DARK => true,
QRMatrix::M_FINDER_DOT => true,
QRMatrix::M_TEST_DARK => true,
];