new()
new(int $size, \BaconQrCode\Renderer\Color\ColorInterface $backgroundColor) : void
Starts a new image.
If a previous image was already started, previous data get erased.
Parameters
int | $size | |
\BaconQrCode\Renderer\Color\ColorInterface | $backgroundColor |