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

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 Postnet

Com\Tecnick\Barcode\Type\Linear\Postnet;

Postnet Barcode type class POSTNET

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\Postnet

Direct known subclasses

Com\Tecnick\Barcode\Type\Linear\Planet
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/Postnet.php
Methods summary
protected char
# getChecksum( $code )

Calculate the checksum.

protected
# formatCode( )

Format code

protected array
# 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

# 'POSTNET'
protected array $chbar

Map characters to barcodes

# array( '0' => '22111', '1' => '11122', '2' => '11212', '3' => '11221', '4' => '12112', '5' => '12121', '6' => '12211', '7' => '21112', '8' => '21121', '9' => '21211' )
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