Barcode.php
ver 1.5.0
PHP 開発者向け バーコード作成ライブラリ
|
公開メンバ関数 | |
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 | バーコードのバーの高さ(単位:ドット) |
getLenAI | ( | $code, | |
$idx | |||
) |
code | Code to be checked |
idx | Index |
$BarThick = 1 |
バー厚み
$FontName = "./font/mplus-1p-black.ttf" |
添字(バーコードの下の文字)のフォントファイル名
$FontSize = 9 |
添字のフォントサイズ
$Kintou = true |
pKintou
$KuroBarCousei = 0 |
黒バーの太さ調整ドット数
$TextWrite = true |
添字(バーコードの下の文字)を描画する・しない