|
19 | 19 | 'imageBase64' => false, |
20 | 20 | 'moduleValues' => [ |
21 | 21 | // finder |
22 | | - (QRMatrix::M_FINDER << 8) => [0, 63, 255], // dark (true) |
23 | | - (QRMatrix::M_FINDER_DOT << 8) => [241, 28, 163], // finder dot, dark (true) |
24 | | - QRMatrix::M_FINDER => [255, 255, 255], // light (false), white is the transparency color and is enabled by default |
| 22 | + QRMatrix::M_FINDER_DARK => [0, 63, 255], // dark (true) |
| 23 | + QRMatrix::M_FINDER_DOT => [241, 28, 163], // finder dot, dark (true) |
| 24 | + QRMatrix::M_FINDER => [255, 255, 255], // light (false), white is the transparency color and is enabled by default |
25 | 25 | // alignment |
26 | | - (QRMatrix::M_ALIGNMENT << 8) => [255, 0, 255], |
27 | | - QRMatrix::M_ALIGNMENT => [255, 255, 255], |
| 26 | + QRMatrix::M_ALIGNMENT_DARK => [255, 0, 255], |
| 27 | + QRMatrix::M_ALIGNMENT => [255, 255, 255], |
28 | 28 | // timing |
29 | | - (QRMatrix::M_TIMING << 8) => [255, 0, 0], |
30 | | - QRMatrix::M_TIMING => [255, 255, 255], |
| 29 | + QRMatrix::M_TIMING_DARK => [255, 0, 0], |
| 30 | + QRMatrix::M_TIMING => [255, 255, 255], |
31 | 31 | // format |
32 | | - (QRMatrix::M_FORMAT << 8) => [67, 99, 84], |
33 | | - QRMatrix::M_FORMAT => [255, 255, 255], |
| 32 | + QRMatrix::M_FORMAT_DARK => [67, 99, 84], |
| 33 | + QRMatrix::M_FORMAT => [255, 255, 255], |
34 | 34 | // version |
35 | | - (QRMatrix::M_VERSION << 8) => [62, 174, 190], |
36 | | - QRMatrix::M_VERSION => [255, 255, 255], |
| 35 | + QRMatrix::M_VERSION_DARK => [62, 174, 190], |
| 36 | + QRMatrix::M_VERSION => [255, 255, 255], |
37 | 37 | // data |
38 | | - (QRMatrix::M_DATA << 8) => [0, 0, 0], |
39 | | - QRMatrix::M_DATA => [255, 255, 255], |
| 38 | + QRMatrix::M_DATA_DARK => [0, 0, 0], |
| 39 | + QRMatrix::M_DATA => [255, 255, 255], |
40 | 40 | // darkmodule |
41 | | - (QRMatrix::M_DARKMODULE << 8) => [0, 0, 0], |
| 41 | + QRMatrix::M_DARKMODULE => [0, 0, 0], |
42 | 42 | // separator |
43 | | - QRMatrix::M_SEPARATOR => [255, 255, 255], |
| 43 | + QRMatrix::M_SEPARATOR => [255, 255, 255], |
44 | 44 | // quietzone |
45 | | - QRMatrix::M_QUIETZONE => [255, 255, 255], |
| 45 | + QRMatrix::M_QUIETZONE => [255, 255, 255], |
46 | 46 | // logo (requires a call to QRMatrix::setLogoSpace()) |
47 | | - QRMatrix::M_LOGO => [255, 255, 255], |
| 47 | + QRMatrix::M_LOGO => [255, 255, 255], |
48 | 48 | ], |
49 | 49 | ]); |
50 | 50 |
|
|
0 commit comments