mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-04 02:47:30 +00:00
:octocat:
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ $options = new QROptions([
|
||||
8 => [255, 255, 255],
|
||||
// quietzone
|
||||
18 => [255, 255, 255],
|
||||
// logo
|
||||
// logo (requires a call to QRMatrix::setLogoSpace())
|
||||
20 => [255, 255, 255],
|
||||
],
|
||||
]);
|
||||
|
||||
@@ -574,6 +574,8 @@ final class QRMatrix{
|
||||
* Clears a space of $width * $height in order to add a logo or text. ECC level "H" (30%) is required.
|
||||
* This method should be called from within an output module (after the matrix has been filled with data).
|
||||
*
|
||||
* @codeCoverageIgnore (for now)
|
||||
*
|
||||
* @throws \chillerlan\QRCode\Data\QRCodeDataException
|
||||
*/
|
||||
public function setLogoSpace(int $width, int $height):QRMatrix{
|
||||
|
||||
Reference in New Issue
Block a user