Modes extends Placement
in package
AbstractYes
Com\Tecnick\Barcode\Type\Square\Datamatrix\Modes
Modes for Datamatrix Barcode type class
Tags
Table of Contents
Properties
- $last_enc : int
- Store last used encoding for data codewords.
- $shape : string
- Datamatrix shape key (S=square, R=rectangular)
Methods
- get253StateCodeword() : int
- Return the 253-state codeword
- getPlacementMap() : array<int, int>
- Build a placement map.
Properties
$last_enc
Store last used encoding for data codewords.
public int $last_enc
$shape
Datamatrix shape key (S=square, R=rectangular)
public string $shape
Methods
get253StateCodeword()
Return the 253-state codeword
public get253StateCodeword(int $cdwpad,
int $cdwpos)
: int
Parameters
- $cdwpad : int
-
Pad codeword.
- $cdwpos : int
-
Number of data codewords from the beginning of encoded data.
Return values
intgetPlacementMap()
Build a placement map.
public getPlacementMap(int $nrow,
int $ncol)
: array<int,
int>
(Annex F - ECC 200 symbol character placement)
Parameters
- $nrow : int
-
Number of rows.
- $ncol : int
-
Number of columns.