Barcode.php  ver 1.5.0
PHP 開発者向け バーコード作成ライブラリ
公開メンバ関数 | フィールド
EAN128 クラス
EAN128 の継承関係図
GS1_128

公開メンバ関数

 draw ($code, $minWidthDot, $height)
 
 getLenAI ($code, $idx)
 
 drawConvenience ($code, $minWidthDot, $height)
 

フィールド

 $TextWrite = true
 
 $FontName = "./font/mplus-1p-black.ttf"
 
 $FontSize = 9
 
 $BarThick = 1
 
 $KuroBarCousei = 0
 
 $outputCode = ""
 
 $Kintou = true
 

詳解

UCC/EAN-128作成クラス

関数詳解

draw (   $code,
  $minWidthDot,
  $height 
)

バーコードの描画を行います。バーコード全体の幅を指定するのではなく、バーを描画する横方向の最小単位のドット数を指定します。(1~)

引数
$code描画を行うバーコードのコード(テキスト)
$minWidthDot横方向の最少描画ドット数
$heightバーコードのバーの高さ(単位:ドット)
戻り値
バーコードのイメージを返します。 Intermediate method to draw barcode
getLenAI (   $code,
  $idx 
)
引数
codeCode to be checked
idxIndex
戻り値
Len AI

フィールド詳解

$BarThick = 1

バー厚み

$FontName = "./font/mplus-1p-black.ttf"

添字(バーコードの下の文字)のフォントファイル名

$FontSize = 9

添字のフォントサイズ

$Kintou = true

pKintou

$KuroBarCousei = 0

黒バーの太さ調整ドット数

$TextWrite = true

添字(バーコードの下の文字)を描画する・しない


このクラス詳解は次のファイルから抽出されました: