Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square
class HanXin extends Square
Extends: Square
Source: src/Type/Square/HanXin.php:50
HanXin Barcode type class Han Xin Code (GB/T 21049, ISO/IEC 20830)
Matrix symbology with four position detection patterns, a stepped alignment pattern and eighty four symbol versions. Symbol sizes: 23x23 to 189x189 modules, in steps of two Error correction levels: L1, L2, L3 and L4 Maximum data characters: 7827 digits, 4350 text characters or 3261 bytes
The encoder uses the numeric, Text, binary byte, common Chinese character region one and two and GB 18030 two and four byte region modes. The ECI, Unicode, GS1 and URI modes are not available.
Inherited members
From Convert
- getGridArray(): Get a raw barcode grid array
From Type
- __construct(): Initialize a new barcode object
- getArray(): Get the barcode raw array
- getBarsArrayXYWH(): Get the array containing all the formatted bars coordinates (x, y, width, height)
- getBarsArrayXYXY(): Get the array containing all the formatted bars coordinates (x1, y1, x2, y2)
- getExtendedCode(): Get the extended code (code + checksum)
- getGd(): Get the barcode as GD image object (requires GD library)
- getGrid(): Get a raw barcode string representation using characters
- getHtmlDiv(): Get an HTML representation of the barcode.
- getInlineSvgCode(): Get the barcode as inline SVG code.
- getPng(): Get Barcode as PNG Image (requires GD or Imagick library)
- getPngData(): Get the barcode as PNG image (requires GD or Imagick library)
- getPngDataImagick(): Get the barcode as PNG image (requires Imagick library)
- getSvg(): Get the barcode as SVG image object.
- getSvgCode(): Get the barcode as SVG code, including the XML declaration.
- setBackgroundColor(): Set the background color
- setColor(): Set the color of the bars.
- setSize(): Set the size of the barcode to be exported