__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
booldraw() : array
arrayTable of instructionsgetBackgroundColor() : integer
integergetBarHeight() : integer
integergetBarThickWidth() : integer
integergetBarThinWidth() : integer
integergetBarcodeNamespace() : string
stringgetDrawText() : bool
boolgetFactor() : integer
integergetFont() : integer | string
integerstring
getFontSize() : float
floatgetForeColor() : integer
integergetHeight(bool $recalculate) : integer
bool
integergetInstructions() : array
arraygetOffsetLeft(bool $recalculate) : float
bool
floatgetOffsetTop(bool $recalculate) : float
bool
floatgetOrientation() : float
floatgetQuietZone() : integer
integergetRawText() : string
stringgetStretchText() : bool
boolgetText() : string
stringgetTextToDisplay() : string
stringgetType() : string
stringgetWidth(bool $recalculate) : integer
bool
integergetWithBorder() : bool
boolgetWithChecksum() : bool
boolgetWithChecksumInText() : bool
boolgetWithQuietZones() : bool
boolsetBackgroundColor(integer $value) : \Zend\Barcode\Object\ObjectInterface
setBarHeight(integer $value) : \Zend\Barcode\Object\ObjectInterface
setBarThickWidth(integer $value) : \Zend\Barcode\Object\ObjectInterface
setBarThinWidth(integer $value) : \Zend\Barcode\Object\ObjectInterface
setBarcodeNamespace(string $namespace) : \Zend\Barcode\Object\ObjectInterface
setDrawText(bool $value) : \Zend\Barcode\Object\ObjectInterface
setFactor(float $value) : \Zend\Barcode\Object\ObjectInterface
setFont(integer | string $value) : \Zend\Barcode\Object\ObjectInterface
integerstring
\Zend\Barcode\Object\Exception\ExceptionInterface |
|---|
setFontSize(float $value) : \Zend\Barcode\Object\ObjectInterface
setForeColor(string $value) : \Zend\Barcode\Object\ObjectInterface
setOptions(array $options) : \Zend\Barcode\Object\ObjectInterface
setOrientation(float $value) : \Zend\Barcode\Object\ObjectInterface
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
stringText to be checked
addInstruction(array $instruction)
array
addLeadingZeros(string $text, bool $withoutChecksum) : string
string
bool
stringaddPolygon(array $points, integer $color, bool $filled)
array
integer
bool
addText(string $text, float $size, array $position, string $font, integer $color, string $alignment, float $orientation)
string
float
array
string
integer
string
float
calculateBarcodeHeight() : integer
integercalculateBarcodeWidth() : integer
integercalculateHeight() : integer
integercalculateWidth() : integer
integercheckFontAndOrientation() : void
checkRatio(integer $min, integer $max) : void
checkSpecificParams() : void
checkText($value) : void
drawBarcode() : void
drawBorder() : void
drawText() : void
getDefaultOptions() : void
postDrawBarcode() : void
preDrawBarcode() : void
prepareBarcode() : array
.. )
arrayrotate(float $x1, float $y1) : array
floatx-position before rotation
floaty-position before rotation
arrayArray of two elements corresponding to the new XY pointvalidateSpecificText(string $value, array $options)
string
array
$addLeadingZeros : bool
$backgroundColor : integer
$drawText : bool
$factor : integer
$font : integer | string
$fontSize : float
$foreColor : integer
$height : integer
$instructions : array
$mandatoryChecksum : bool
$mandatoryQuietZones : bool
$offsetLeft : integer
$offsetTop : integer
$orientation : float
$stretchText : bool
$substituteChecksumCharacter : mixed
$text : string
$type : string
$width : integer
$withBorder : bool
$withChecksum : bool
$withChecksumInText : bool
$withQuietZones : bool