class-Com.Tecnick.Barcode.Type.Linear.EanOneThree

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class EanOneThree

Com\Tecnick\Barcode\Type\Linear\EanOneThree;

EanOneThree Barcode type class EAN 13

Com\Tecnick\Barcode\Type\Convert
Extended by Com\Tecnick\Barcode\Type
Extended by Com\Tecnick\Barcode\Type\Linear
Extended by Com\Tecnick\Barcode\Type\Linear\EanOneThree

Indirect known subclasses

Com\Tecnick\Barcode\Type\Linear\UpcE
Namespace: Com\Tecnick\Barcode\Type\Linear
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-02-21
Link: https://github.com/tecnickcom/tc-lib-barcode
Located at Type/Linear/EanOneThree.php
Methods summary
protected char
# getChecksum( $code )

Calculate checksum

protected
# formatCode( )

Format code

protected
# setBars( )

Get the bars array

Methods inherited from Com\Tecnick\Barcode\Type
__construct(), getArray(), getBarsArray(), getExtendedCode(), getGd(), getGrid(), getHtmlDiv(), getPng(), getPngData(), getPngDataImagick(), getRgbColorObject(), getSvg(), getSvgCode(), setBackgroundColor(), setColor(), setPadding(), setParameters(), setSize()
Methods inherited from Com\Tecnick\Barcode\Type\Convert
convertDecToHex(), convertHexToDec(), getBarRectXYWH(), getBarRectXYXY(), getGridArray(), getRotatedBarArray(), processBinarySequence()
Properties summary
protected string $format

Barcode format

# 'EAN13'
protected integer $code_length

Fixed code length

# 13
protected integer $check

Check digit

# ''
protected array $chbar

Map characters to barcodes

# array( 'A' => array( // left odd parity '0' => '0001101', '1' => '0011001', '2' => '0010011', '3' => '0111101', '4' => '0100011', '5' => '0110001', '6' => '0101111', '7' => '0111011', '8' => '0110111', '9' => '0001011' ), 'B' => array( // left even parity '0' => '0100111', '1' => '0110011', '2' => '0011011', '3' => '0100001', '4' => '0011101', '5' => '0111001', '6' => '0000101', '7' => '0010001', '8' => '0001001', '9' => '0010111' ), 'C' => array( // right '0' => '1110010', '1' => '1100110', '2' => '1101100', '3' => '1000010', '4' => '1011100', '5' => '1001110', '6' => '1010000', '7' => '1000100', '8' => '1001000', '9' => '1110100' ) )
protected array $parities

Map parities

# array( '0' => 'AAAAAA', '1' => 'AABABB', '2' => 'AABBAB', '3' => 'AABBBA', '4' => 'ABAABB', '5' => 'ABBAAB', '6' => 'ABBBAA', '7' => 'ABABAB', '8' => 'ABABBA', '9' => 'ABBABA' )
Properties inherited from Com\Tecnick\Barcode\Type\Linear
$type
Properties inherited from Com\Tecnick\Barcode\Type
$bars, $bg_color_obj, $code, $color_obj, $extcode, $height, $height_ratio, $ncols, $nrows, $padding, $params, $width, $width_ratio
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy