Zend\Barcode\Renderer\RendererInterface
Class for rendering the barcode
Synopsis
interface RendererInterface
{
- // methods
- public void __construct()
- public RendererInterface setOptions()
- public RendererInterface setRendererNamespace()
- public string getRendererNamespace()
- public string getType()
- public RendererInterface setTopOffset()
- public int getTopOffset()
- public RendererInterface setLeftOffset()
- public int getLeftOffset()
- public void setAutomaticRenderError()
- public RendererInterface setHorizontalPosition()
- public string getHorizontalPosition()
- public RendererInterface setVerticalPosition()
- public string getVerticalPosition()
- public RendererInterface setModuleSize()
- public float getModuleSize()
- public bool getAutomaticRenderError()
- public RendererInterface setBarcode()
- public ObjectInterface getBarcode()
- public bool checkParams()
- public mixed draw()
- public mixed render()
Methods
public
- __construct() — Constructor
- checkParams() — Checking of parameters after all settings
- draw() — Draw the barcode in the rendering resource
- getAutomaticRenderError() — Retrieve the automatic rendering of exception
- getBarcode() — Retrieve the barcode object
- getHorizontalPosition() — Horizontal position of the barcode in the rendering resource
- getLeftOffset() — Retrieve vertical adjustment
- getModuleSize() — Set the size of a module
- getRendererNamespace() — Retrieve renderer namespace
- getTopOffset() — Retrieve vertical adjustment
- getType() — Retrieve renderer type
- getVerticalPosition() — Vertical position of the barcode in the rendering resource
- render() — Render the resource by sending headers and drawed resource
- setAutomaticRenderError() — Activate/Deactivate the automatic rendering of exception
- setBarcode() — Set the barcode object
- setHorizontalPosition() — Horizontal position of the barcode in the rendering resource
- setLeftOffset() — Manually adjust left position
- setModuleSize() — Set the size of a module
- setOptions() — Set renderer state from options array
- setRendererNamespace() — Set renderer namespace for autoloading
- setTopOffset() — Manually adjust top position
- setVerticalPosition() — Vertical position of the barcode in the rendering resource