1544.1. Zend\Barcode\Renderer\Pdf
Class for rendering the barcode in PDF resource
1544.1.1. Methods
1544.1.1.1. setResource
-
setResource()
Set a PDF resource to draw the barcode inside
Parameters: |
|
Return type: | Pdf
|
1544.1.1.2. checkSpecificParams
-
checkSpecificParams()
Check renderer parameters
1544.1.1.3. render
-
render()
Draw the barcode in the PDF, send headers and the PDF
1544.1.1.4. initRenderer
-
initRenderer()
Initialize the PDF resource
1544.1.1.5. drawPolygon
-
drawPolygon()
Draw a polygon in the rendering resource
1544.1.1.6. drawText
-
drawText()
Draw a polygon in the rendering resource
Parameters: |
- string –
- float –
- array –
- string –
- integer –
- string –
- float –
|
1544.1.1.7. widthForStringUsingFontSize
-
widthForStringUsingFontSize()
Calculate the width of a string:
in case of using alignment parameter in drawText
Parameters: |
|
Return type: | float
|