\BaconQrCode\Renderer\Image\DecoratorFinderPattern

Finder pattern decorator.

Summary

Methods
Properties
Constants
setOuterColor()
getOuterColor()
setInnerColor()
getInnerColor()
preProcess()
postProcess()
No public properties found
No constants found
No protected methods found
$innerColor
$outerColor
$outerPositionDetectionPattern
$innerPositionDetectionPattern
N/A
No private methods found
No private properties found
N/A

Properties

$innerColor

$innerColor : \BaconQrCode\Renderer\Color\ColorInterface

Type

ColorInterface

$outerColor

$outerColor

$outerPositionDetectionPattern

$outerPositionDetectionPattern : array

Outer position detection pattern.

Type

array

$innerPositionDetectionPattern

$innerPositionDetectionPattern : array

Inner position detection pattern.

Type

array

Methods

setOuterColor()

setOuterColor(\BaconQrCode\Renderer\Color\ColorInterface  $color) : \BaconQrCode\Renderer\Image\Decorator\FinderPattern

Sets outer color.

Parameters

\BaconQrCode\Renderer\Color\ColorInterface $color

Returns

\BaconQrCode\Renderer\Image\Decorator\FinderPattern —

getOuterColor()

getOuterColor() : \BaconQrCode\Renderer\Color\ColorInterface

Gets outer color.

Returns

\BaconQrCode\Renderer\Color\ColorInterface —

setInnerColor()

setInnerColor(\BaconQrCode\Renderer\Color\ColorInterface  $color) : \BaconQrCode\Renderer\Image\Decorator\FinderPattern

Sets inner color.

Parameters

\BaconQrCode\Renderer\Color\ColorInterface $color

Returns

\BaconQrCode\Renderer\Image\Decorator\FinderPattern —

getInnerColor()

getInnerColor() : \BaconQrCode\Renderer\Color\ColorInterface

Gets inner color.

Returns

\BaconQrCode\Renderer\Color\ColorInterface —

preProcess()

preProcess(\BaconQrCode\Encoder\QrCode  $qrCode, \BaconQrCode\Renderer\Image\RendererInterface  $renderer, int  $outputWidth, int  $outputHeight, int  $leftPadding, int  $topPadding, int  $multiple) : void

preProcess(): defined by DecoratorInterface.

Parameters

\BaconQrCode\Encoder\QrCode $qrCode
\BaconQrCode\Renderer\Image\RendererInterface $renderer
int $outputWidth
int $outputHeight
int $leftPadding
int $topPadding
int $multiple

postProcess()

postProcess(\BaconQrCode\Encoder\QrCode  $qrCode, \BaconQrCode\Renderer\Image\RendererInterface  $renderer, int  $outputWidth, int  $outputHeight, int  $leftPadding, int  $topPadding, int  $multiple) : void

postProcess(): defined by DecoratorInterface.

Parameters

\BaconQrCode\Encoder\QrCode $qrCode
\BaconQrCode\Renderer\Image\RendererInterface $renderer
int $outputWidth
int $outputHeight
int $leftPadding
int $topPadding
int $multiple