BaCode.php 0.0.0
ITF クラス

ITF作成クラス Interleaved Two of Five バーコード [詳解]

公開メンバ関数

 draw ($code, $minWidthDot, $height)
 バーコード:ITFを描画します
 draw_by_width ($code, $width, $height)
 バーコードの描画を行います。バーコード全体の幅を指定します。
 draw_svg ($code, $minWidthDot, $height)
 バーコードをSVGで描画します
 draw_by_width_svg ($code, $width, $height)
 バーコードをSVGで描画します(幅指定版)

詳解

ITF作成クラス Interleaved Two of Five バーコード

関数詳解

◆ draw()

draw ( $code,
$minWidthDot,
$height )

バーコード:ITFを描画します

引数
string$codeバーコードのコード
int$minWidthDot最小ドット数(1以上)
int$heightバーの高さ(ドット)
戻り値
resource|string バーコードイメージまたはSVG文字列
例外

Exception 無効な文字が含まれる場合

参照先 draw_svg().

参照元 draw_by_width().

◆ draw_by_width()

draw_by_width ( $code,
$width,
$height )

バーコードの描画を行います。バーコード全体の幅を指定します。

引数
string$codeバーコードのコード
int$widthバーコードの全体幅(ドット)
int$heightバーの高さ(ドット)
戻り値
resource|string バーコードイメージまたはSVG文字列

参照先 draw(), draw_by_width_svg().

◆ draw_by_width_svg()

draw_by_width_svg ( $code,
$width,
$height )

バーコードをSVGで描画します(幅指定版)

引数
string$codeバーコードのコード
int$widthバーコードの全体幅(ドット)
int$heightバーの高さ(ドット)
戻り値
string SVG文字列

参照先 draw_svg().

参照元 draw_by_width().

◆ draw_svg()

draw_svg ( $code,
$minWidthDot,
$height )

バーコードをSVGで描画します

引数
string$codeバーコードのコード
float$minWidthDot最小ドット数
int$heightバーの高さ(ドット)
戻り値
string SVG文字列

参照元 draw(), draw_by_width_svg().


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