\Code128
emberlabs Barcode Creator - Code39 Generate Code39 Barcides
- License: http://opensource.org/licenses/mit-license.php The MIT License
Synopsis
class Code128
extends BarcodeBase
{
- // constants
- const TYPE_AUTO = 0;
- const TYPE_A = 1;
- const TYPE_B = 2;
- const TYPE_C = 3;
- // members
- private string $data = '';
- private $type = self::TYPE_AUTO;
- private static array $barMap = ;
- private static array $mapA = ;
- private static array $mapB = ;
- private static array $mapC = ;
- // Inherited members from BarcodeBase
- protected $img;
- protected integer $x;
- protected integer $y;
- protected boolean $humanText;
- protected integer $jpgQuality;
- // methods
- public void setData()
- public void setSubType()
- private void getKey()
- private void getBar()
- private void resolveSubtype()
- private void getStartChar()
- public void draw()
- // Inherited methods from BarcodeBase
- public abstract void setData()
- public abstract void draw()
- public void setDimensions()
- public void setQuality()
- public void enableHumanText()
- public void output()
- public void save()
- public void base64()
- public instance rotate()
Hierarchy
Extends
Constants
Name | Value |
---|---|
TYPE_AUTO | 0 |
TYPE_A | 1 |
TYPE_B | 2 |
TYPE_C | 3 |
Members
private
- $barMap
- $data
- $mapA
- $mapB
- $mapC
- $type
protected
- $humanText
- $img
- $jpgQuality
- $x
- $y
Methods
private
public
Inherited from BarcodeBase
public
- base64()
- draw()
- enableHumanText()
- output()
- rotate() — Rotate the drawn image
- save()
- setData()
- setDimensions()
- setQuality()