1549.1. Zend\Barcode\Renderer\Svg
Class for rendering the barcode as svg
1549.1.1. Methods
1549.1.1.1. setHeight
-
setHeight()
Set height of the result image
Parameters: | null|integer – |
Throws ExceptionOutOfRangeException: |
| |
Return type: | Svg |
1549.1.1.2. getHeight
-
getHeight()
Get barcode height
1549.1.1.3. setWidth
-
setWidth()
Set barcode width
Parameters: | mixed – |
Throws ExceptionOutOfRangeException: |
| |
Return type: | self |
1549.1.1.4. getWidth
-
getWidth()
Get barcode width
1549.1.1.5. setResource
-
setResource()
Set an image resource to draw the barcode inside
Parameters: | DOMDocument – |
Return type: | Svg |
1549.1.1.6. initRenderer
-
initRenderer()
Initialize the image resource
1549.1.1.7. readRootElement
-
readRootElement()
1549.1.1.8. appendRootElement
-
appendRootElement()
Append a new DOMElement to the root element
Parameters: |
- string –
- array –
- string –
|
1549.1.1.9. createElement
-
createElement()
Create DOMElement
Parameters: |
- string –
- array –
- string –
|
Return type: | DOMElement
|
1549.1.1.10. checkSpecificParams
-
checkSpecificParams()
Check barcode parameters
1549.1.1.11. checkDimensions
-
checkDimensions()
Check barcode dimensions
1549.1.1.12. draw
-
draw()
Draw the barcode in the rendering resource
1549.1.1.13. render
-
render()
Draw and render the barcode with correct headers
1549.1.1.14. drawPolygon
-
drawPolygon()
Draw a polygon in the svg resource
1549.1.1.15. drawText
-
drawText()
Draw a polygon in the svg resource
Parameters: |
- string –
- float –
- array –
- string –
- integer –
- string –
- float –
|