\BaconQrCode\Renderer\RendererStyleRendererStyle

Summary

Methods
Properties
Constants
__construct()
withSize()
withMargin()
getSize()
getMargin()
getModule()
getEye()
getFill()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$size
$margin
$module
$eye
$fill
N/A

Properties

$size

$size : int

Type

int

$margin

$margin : int

Type

int

$module

$module : \BaconQrCode\Renderer\Module\ModuleInterface

Type

ModuleInterface

$fill

$fill : \BaconQrCode\Renderer\RendererStyle\Fill

Type

Fill

Methods

__construct()

__construct(int  $size, int  $margin = 4, ?\BaconQrCode\Renderer\Module\ModuleInterface  $module = null, ?\BaconQrCode\Renderer\Eye\EyeInterface  $eye = null, ?\BaconQrCode\Renderer\RendererStyle\Fill  $fill = null) : mixed

Parameters

int $size
int $margin
?\BaconQrCode\Renderer\Module\ModuleInterface $module
?\BaconQrCode\Renderer\Eye\EyeInterface $eye
?\BaconQrCode\Renderer\RendererStyle\Fill $fill

Returns

mixed —

withSize()

withSize(int  $size) : self

Parameters

int $size

Returns

self —

withMargin()

withMargin(int  $margin) : self

Parameters

int $margin

Returns

self —

getSize()

getSize() : int

Returns

int —

getMargin()

getMargin() : int

Returns

int —

getModule()

getModule() : \BaconQrCode\Renderer\Module\ModuleInterface

Returns

\BaconQrCode\Renderer\Module\ModuleInterface —

getEye()

getEye() : \BaconQrCode\Renderer\Eye\EyeInterface

Returns

\BaconQrCode\Renderer\Eye\EyeInterface —

getFill()

getFill() : \BaconQrCode\Renderer\RendererStyle\Fill

Returns

\BaconQrCode\Renderer\RendererStyle\Fill —