$margin
$margin : int
Margin around the QR code, also known as quiet zone.
PNG backend.
$margin : int
Margin around the QR code, also known as quiet zone.
$width : int
Requested width of the rendered image.
$height : int
Requested height of the rendered image.
$roundDimensions : bool
Whether dimensions should be rounded down.
$finalWidth : int
Final width of the image.
$finalHeight : int
Final height of the image.
$blockSize : int
Size of each individual block.
$backgroundColor : \BaconQrCode\Renderer\Color\ColorInterface
Background color.
$floorToClosestDimension : bool
Whether dimensions should be rounded down
$foregroundColor : \BaconQrCode\Renderer\Color\ColorInterface
Foreground color.
$decorators : array
Decorators used on QR codes.
$image : resource
Image resource used when drawing.
$colors : array
Colors used for drawing.
setWidth(int $width) : \BaconQrCode\Renderer\Image\AbstractRenderer
Sets the height around the renderd image.
If the width is smaller than the matrix width plus padding, the renderer will automatically use that as the width instead of the specified one.
int | $width |
setHeight(int $height) : \BaconQrCode\Renderer\Image\AbstractRenderer
Sets the height around the renderd image.
If the height is smaller than the matrix height plus padding, the renderer will automatically use that as the height instead of the specified one.
int | $height |
addDecorator(\BaconQrCode\Renderer\Image\Decorator\DecoratorInterface $decorator) : \BaconQrCode\Renderer\Image\AbstractRenderer
Adds a decorator to the renderer.
\BaconQrCode\Renderer\Image\Decorator\DecoratorInterface | $decorator |