|
|
@@ -65,30 +65,32 @@ interface QROutputInterface{
|
|
|
*/
|
|
|
public const DEFAULT_MODULE_VALUES = [
|
|
|
// light
|
|
|
- QRMatrix::M_NULL => false,
|
|
|
- QRMatrix::M_DATA => false,
|
|
|
- QRMatrix::M_FINDER => false,
|
|
|
- QRMatrix::M_SEPARATOR => false,
|
|
|
- QRMatrix::M_ALIGNMENT => false,
|
|
|
- QRMatrix::M_TIMING => false,
|
|
|
- QRMatrix::M_FORMAT => false,
|
|
|
- QRMatrix::M_VERSION => false,
|
|
|
- QRMatrix::M_QUIETZONE => false,
|
|
|
- QRMatrix::M_LOGO => false,
|
|
|
- QRMatrix::M_TEST => false,
|
|
|
+ QRMatrix::M_NULL => false,
|
|
|
+ QRMatrix::M_DARKMODULE_LIGHT => false,
|
|
|
+ QRMatrix::M_DATA => false,
|
|
|
+ QRMatrix::M_FINDER => false,
|
|
|
+ QRMatrix::M_SEPARATOR => false,
|
|
|
+ QRMatrix::M_ALIGNMENT => false,
|
|
|
+ QRMatrix::M_TIMING => false,
|
|
|
+ QRMatrix::M_FORMAT => false,
|
|
|
+ QRMatrix::M_VERSION => false,
|
|
|
+ QRMatrix::M_QUIETZONE => false,
|
|
|
+ QRMatrix::M_LOGO => false,
|
|
|
+ QRMatrix::M_FINDER_DOT_LIGHT => false,
|
|
|
+ QRMatrix::M_TEST => false,
|
|
|
// dark
|
|
|
- QRMatrix::M_DARKMODULE => true,
|
|
|
- QRMatrix::M_DATA_DARK => true,
|
|
|
- QRMatrix::M_FINDER_DARK => true,
|
|
|
- QRMatrix::M_SEPARATOR_DARK => true,
|
|
|
- QRMatrix::M_ALIGNMENT_DARK => true,
|
|
|
- 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,
|
|
|
+ QRMatrix::M_DARKMODULE => true,
|
|
|
+ QRMatrix::M_DATA_DARK => true,
|
|
|
+ QRMatrix::M_FINDER_DARK => true,
|
|
|
+ QRMatrix::M_SEPARATOR_DARK => true,
|
|
|
+ QRMatrix::M_ALIGNMENT_DARK => true,
|
|
|
+ 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,
|
|
|
];
|
|
|
|
|
|
/**
|
|
|
@@ -98,30 +100,32 @@ interface QROutputInterface{
|
|
|
*/
|
|
|
public const LAYERNAMES = [
|
|
|
// light
|
|
|
- QRMatrix::M_NULL => 'null',
|
|
|
- QRMatrix::M_DATA => 'data',
|
|
|
- QRMatrix::M_FINDER => 'finder',
|
|
|
- QRMatrix::M_SEPARATOR => 'separator',
|
|
|
- QRMatrix::M_ALIGNMENT => 'alignment',
|
|
|
- QRMatrix::M_TIMING => 'timing',
|
|
|
- QRMatrix::M_FORMAT => 'format',
|
|
|
- QRMatrix::M_VERSION => 'version',
|
|
|
- QRMatrix::M_QUIETZONE => 'quietzone',
|
|
|
- QRMatrix::M_LOGO => 'logo',
|
|
|
- QRMatrix::M_TEST => 'test',
|
|
|
+ QRMatrix::M_NULL => 'null',
|
|
|
+ QRMatrix::M_DARKMODULE_LIGHT => 'darkmodule-light',
|
|
|
+ QRMatrix::M_DATA => 'data',
|
|
|
+ QRMatrix::M_FINDER => 'finder',
|
|
|
+ QRMatrix::M_SEPARATOR => 'separator',
|
|
|
+ QRMatrix::M_ALIGNMENT => 'alignment',
|
|
|
+ QRMatrix::M_TIMING => 'timing',
|
|
|
+ QRMatrix::M_FORMAT => 'format',
|
|
|
+ QRMatrix::M_VERSION => 'version',
|
|
|
+ QRMatrix::M_QUIETZONE => 'quietzone',
|
|
|
+ QRMatrix::M_LOGO => 'logo',
|
|
|
+ QRMatrix::M_FINDER_DOT_LIGHT => 'finder-dot-light',
|
|
|
+ QRMatrix::M_TEST => 'test',
|
|
|
// dark
|
|
|
- QRMatrix::M_DARKMODULE => 'darkmodule',
|
|
|
- QRMatrix::M_DATA_DARK => 'data-dark',
|
|
|
- QRMatrix::M_FINDER_DARK => 'finder-dark',
|
|
|
- QRMatrix::M_SEPARATOR_DARK => 'separator-dark',
|
|
|
- QRMatrix::M_ALIGNMENT_DARK => 'alignment-dark',
|
|
|
- QRMatrix::M_TIMING_DARK => 'timing-dark',
|
|
|
- QRMatrix::M_FORMAT_DARK => 'format-dark',
|
|
|
- QRMatrix::M_VERSION_DARK => 'version-dark',
|
|
|
- QRMatrix::M_QUIETZONE_DARK => 'quietzone-dark',
|
|
|
- QRMatrix::M_LOGO_DARK => 'logo-dark',
|
|
|
- QRMatrix::M_FINDER_DOT => 'finder-dot',
|
|
|
- QRMatrix::M_TEST_DARK => 'test-dark',
|
|
|
+ QRMatrix::M_DARKMODULE => 'darkmodule',
|
|
|
+ QRMatrix::M_DATA_DARK => 'data-dark',
|
|
|
+ QRMatrix::M_FINDER_DARK => 'finder-dark',
|
|
|
+ QRMatrix::M_SEPARATOR_DARK => 'separator-dark',
|
|
|
+ QRMatrix::M_ALIGNMENT_DARK => 'alignment-dark',
|
|
|
+ QRMatrix::M_TIMING_DARK => 'timing-dark',
|
|
|
+ QRMatrix::M_FORMAT_DARK => 'format-dark',
|
|
|
+ QRMatrix::M_VERSION_DARK => 'version-dark',
|
|
|
+ QRMatrix::M_QUIETZONE_DARK => 'quietzone-dark',
|
|
|
+ QRMatrix::M_LOGO_DARK => 'logo-dark',
|
|
|
+ QRMatrix::M_FINDER_DOT => 'finder-dot',
|
|
|
+ QRMatrix::M_TEST_DARK => 'test-dark',
|
|
|
];
|
|
|
|
|
|
/**
|