Class for rendering the barcode

 Methods

Constructor

__construct(array | \Traversable $options) 

Parameters

$options

array\Traversable

Checking of parameters after all settings

checkParams() : bool

Returns

bool

Draw the barcode in the rendering resource

draw() : mixed

Returns

mixed

Retrieve the automatic rendering of exception

getAutomaticRenderError() : bool

Returns

bool

Retrieve the barcode object

getBarcode() : \Zend\Barcode\Object\ObjectInterface

Horizontal position of the barcode in the rendering resource

getHorizontalPosition() : string

Returns

string

Retrieve vertical adjustment

getLeftOffset() : integer

Returns

integer

Set the size of a module

getModuleSize() : float

Returns

float

Retrieve renderer namespace

getRendererNamespace() : string

Returns

string

Retrieve vertical adjustment

getTopOffset() : integer

Returns

integer

Retrieve renderer type

getType() : string

Returns

string

Vertical position of the barcode in the rendering resource

getVerticalPosition() : string

Returns

string

Render the resource by sending headers and drawed resource

render() : mixed

Returns

mixed

Activate/Deactivate the automatic rendering of exception

setAutomaticRenderError(bool $value) 

Parameters

$value

bool

Set the barcode object

setBarcode(\Zend\Barcode\Object\ObjectInterface $barcode) : \Zend\Barcode\Renderer\RendererInterface

Horizontal position of the barcode in the rendering resource

setHorizontalPosition(string $value) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$value

string

Returns

Manually adjust left position

setLeftOffset(integer $value) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$value

integer

Returns

Set the size of a module

setModuleSize(float $value) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$value

float

Returns

Set renderer state from options array

setOptions(array $options) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$options

array

Returns

Set renderer namespace for autoloading

setRendererNamespace(string $namespace) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$namespace

string

Returns

Manually adjust top position

setTopOffset(integer $value) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$value

integer

Returns

Vertical position of the barcode in the rendering resource

setVerticalPosition(string $value) : \Zend\Barcode\Renderer\RendererInterface

Parameters

$value

string

Returns