__construct()
checkParams()
draw()
getBackgroundColor()
getBarHeight()
getBarThickWidth()
getBarThinWidth()
getBarcodeNamespace()
getDrawText()
getFactor()
getFont()
getFontSize()
getForeColor()
getHeight()
getInstructions()
getOffsetLeft()
getOffsetTop()
getOrientation()
getQuietZone()
getRawText()
getStretchText()
getText()
getTextToDisplay()
getType()
getWidth()
getWithBorder()
getWithChecksum()
getWithChecksumInText()
getWithQuietZones()
setBackgroundColor()
setBarHeight()
setBarThickWidth()
setBarThinWidth()
setBarcodeNamespace()
setDrawText()
setFactor()
setFont()
setFontSize()
setForeColor()
setOptions()
setOrientation()
setReverseColor()
setStretchText()
setText()
setWithBorder()
setWithChecksum()
setWithChecksumInText()
setWithQuietZones()
validateText()
addInstruction()
addLeadingZeros()
addPolygon()
addText()
calculateBarcodeHeight()
calculateBarcodeWidth()
calculateHeight()
calculateWidth()
checkFontAndOrientation()
checkRatio()
checkSpecificParams()
checkText()
drawBarcode()
drawBorder()
drawText()
getDefaultOptions()
postDrawBarcode()
preDrawBarcode()
prepareBarcode()
rotate()
validateSpecificText()
$addLeadingZeros
$backgroundColor
$barHeight
$barThickWidth
$barThinWidth
$barcodeLength
$barcodeNamespace
$drawText
$factor
$font
$fontSize
$foreColor
$height
$instructions
$mandatoryChecksum
$mandatoryQuietZones
$offsetLeft
$offsetTop
$orientation
$stretchText
$substituteChecksumCharacter
$text
$type
$width
$withBorder
$withChecksum
$withChecksumInText
$withQuietZones
Class for generate Barcode
__construct(array | \Traversable $options)
array\Traversable
checkParams() : bool
bool
draw() : array
array
Table of instructionsgetBackgroundColor() : int
int
getBarHeight() : int
int
getBarThickWidth() : int
int
getBarThinWidth() : int
int
getBarcodeNamespace() : string
string
getDrawText() : bool
bool
getFactor() : int
int
getFont() : int | string
int
string
getFontSize() : float
float
getForeColor() : int
int
getHeight(bool $recalculate) : int
bool
int
getInstructions() : array
array
getOffsetLeft(bool $recalculate) : float
bool
float
getOffsetTop(bool $recalculate) : float
bool
float
getOrientation() : float
float
getQuietZone() : int
int
getRawText() : string
string
getStretchText() : bool
bool
getText() : string
string
getTextToDisplay() : string
string
getType() : string
string
getWidth(bool $recalculate) : int
bool
int
getWithBorder() : bool
bool
getWithChecksum() : bool
bool
getWithChecksumInText() : bool
bool
getWithQuietZones() : bool
bool
setBackgroundColor(int $value) : \Zend\Barcode\Object\ObjectInterface
setBarHeight(int $value) : \Zend\Barcode\Object\ObjectInterface
setBarThickWidth(int $value) : \Zend\Barcode\Object\ObjectInterface
setBarThinWidth(int $value) : \Zend\Barcode\Object\ObjectInterface
setBarcodeNamespace(string $namespace) : \Zend\Barcode\Object\ObjectInterface
setDrawText(bool $value) : \Zend\Barcode\Object\ObjectInterface
setFactor(int | float | string | bool $value) : \Zend\Barcode\Object\ObjectInterface
intfloatstringbool
\Zend\Barcode\Object\Exception\ExceptionInterface |
---|
setFont(int | string $value) : \Zend\Barcode\Object\ObjectInterface
setFontSize(float $value) : \Zend\Barcode\Object\ObjectInterface
setForeColor(string $value) : \Zend\Barcode\Object\ObjectInterface
setOptions(array $options) : \Zend\Barcode\Object\ObjectInterface
setOrientation(int | float | string | bool $value) : \Zend\Barcode\Object\ObjectInterface
intfloatstringbool
\Zend\Barcode\Object\Exception\ExceptionInterface |
---|
setReverseColor() : \Zend\Barcode\Object\ObjectInterface
setStretchText(bool $value) : \Zend\Barcode\Object\ObjectInterface
setWithBorder(bool $value) : \Zend\Barcode\Object\ObjectInterface
setWithChecksum(bool $value) : \Zend\Barcode\Object\ObjectInterface
setWithChecksumInText(bool $value) : \Zend\Barcode\Object\ObjectInterface
setWithQuietZones(bool $value) : \Zend\Barcode\Object\AbstractObject
validateText(string $value) : void
string
Text to be checked
addInstruction(array $instruction)
array
addLeadingZeros(string $text, bool $withoutChecksum) : string
string
bool
string
addPolygon(array $points, int $color, bool $filled)
array
int
bool
addText(string $text, float $size, int[] $position, string $font, int $color, string $alignment, float | int $orientation)
string
float
int[]
string
int
string
floatint
calculateBarcodeHeight() : int
int
calculateBarcodeWidth() : int
int
calculateHeight() : int
int
calculateWidth() : int
int
checkFontAndOrientation()
checkRatio(int $min, int $max)
checkSpecificParams()
checkText(string | null $value)
drawBarcode()
drawBorder()
drawText()
getDefaultOptions()
postDrawBarcode()
preDrawBarcode()
prepareBarcode() : array
.. )
array
rotate(float $x1, float $y1) : array
float
x-position before rotation
float
y-position before rotation
array
Array of two elements corresponding to the new XY pointvalidateSpecificText(string $value, array $options)
string
array
$addLeadingZeros : bool
$backgroundColor : int
$drawText : bool
$factor : int
$font : int | string
$fontSize : float
$foreColor : int
$height : int
$instructions : array
$mandatoryChecksum : bool
$mandatoryQuietZones : bool
$offsetLeft : int
$offsetTop : int
$orientation : float
$stretchText : bool
$substituteChecksumCharacter : mixed
$text : string
$type : string
$width : int
$withBorder : bool
$withChecksum : bool
$withChecksumInText : bool
$withQuietZones : bool