@@ -88,6 +88,36 @@ interface QROutputInterface{
88
88
QRMatrix::M_TEST_DARK => true ,
89
89
];
90
90
91
+ /**
92
+ * @var string[]
93
+ */
94
+ public const LAYERNAMES = [
95
+ // light
96
+ QRMatrix::M_NULL => 'null ' ,
97
+ QRMatrix::M_DATA => 'data ' ,
98
+ QRMatrix::M_FINDER => 'finder ' ,
99
+ QRMatrix::M_SEPARATOR => 'separator ' ,
100
+ QRMatrix::M_ALIGNMENT => 'alignment ' ,
101
+ QRMatrix::M_TIMING => 'timing ' ,
102
+ QRMatrix::M_FORMAT => 'format ' ,
103
+ QRMatrix::M_VERSION => 'version ' ,
104
+ QRMatrix::M_QUIETZONE => 'quietzone ' ,
105
+ QRMatrix::M_LOGO => 'logo ' ,
106
+ QRMatrix::M_TEST => 'test ' ,
107
+ // dark
108
+ QRMatrix::M_DARKMODULE => 'darkmodule ' ,
109
+ QRMatrix::M_DATA_DARK => 'data-dark ' ,
110
+ QRMatrix::M_FINDER_DARK => 'finder-dark ' ,
111
+ QRMatrix::M_ALIGNMENT_DARK => 'alignment-dark ' ,
112
+ QRMatrix::M_TIMING_DARK => 'timing-dark ' ,
113
+ QRMatrix::M_FORMAT_DARK => 'format-dark ' ,
114
+ QRMatrix::M_VERSION_DARK => 'version-dark ' ,
115
+ QRMatrix::M_QUIETZONE_DARK => 'quietzone-dark ' ,
116
+ QRMatrix::M_LOGO_DARK => 'logo-dark ' ,
117
+ QRMatrix::M_FINDER_DOT => 'finder-dot ' ,
118
+ QRMatrix::M_TEST_DARK => 'test-dark ' ,
119
+ ];
120
+
91
121
/**
92
122
* Determines whether the given value is valid
93
123
*
0 commit comments