Public メソッド | |
| draw ($code, $minWidthDot, $height) | |
変数 | |
| $TextWrite = true | |
| $FontName = "./font/mplus-1p-black.ttf" | |
| $FontSize = 10 | |
| $BarThick = 1 | |
| draw | ( | $ | code, |
| $ | minWidthDot, | ||
| $ | height | ||
| ) |
バーコードの描画を行います。バーコード全体の幅を指定するのではなく、バーを描画する横方向の最小単位のドット数を指定します。(1~)
| $code | 描画を行うバーコードのコード(テキスト) |
| $minWidthDot | 横方向の最少描画ドット数 |
| $height | バーコードのバーの高さ(単位:ドット) |
| $BarThick = 1 |
バー厚み
| $FontName = "./font/mplus-1p-black.ttf" |
添字(バーコードの下の文字)のフォントファイル名
| $FontSize = 10 |
添字のフォントサイズ
| $TextWrite = true |
添字(バーコードの下の文字)を描画する・しない
1.7.2