Barcode.jar ver 5.0.0
Java 開発者向け バーコード作成ライブラリ(SVG出力・Base64出力対応)
読み取り中…
検索中…
一致する文字列を見つけられません
pao.barcode.GS1_128 クラス
pao.barcode.GS1_128 の継承関係図
pao.barcode.EAN128 pao.barcode.IBarCode

公開メンバ関数

 GS1_128 (Graphics2D g)
 GS1_128 (String filePath)
 GS1_128 ()
 GS1_128 (String imgFormat, boolean useStream)
基底クラス pao.barcode.EAN128 に属する継承公開メンバ関数
 EAN128 ()
 EAN128 (Graphics2D g)
 EAN128 (String filePath)
 EAN128 (String imgFormat, boolean useStream)
void SetGraphics (Graphics2D g)
void setTextWrite (boolean value)
boolean getTextWrite ()
void setTextKintou (boolean value)
boolean getTextKintou ()
boolean getTextEvenSpacing ()
void setTextEvenSpacing (boolean value)
void setTextFont (Font value)
Font getTextFont ()
void setRotateAngle (float value)
float getRotateAngle ()
int getKuroBarChousei ()
void setKuroBarChousei (int value)
int getBlackBarAdjusterByDot ()
void setBlackBarAdjusterByDot (int value)
int getShiroBarChousei ()
void setShiroBarChousei (int value)
int getWhiteBarAdjusterByDot ()
void setWhiteBarAdjusterByDot (int value)
int getDPI ()
void setDPI (int dpi)
int getImgMargin ()
void setImgMargin (int value)
ByteArrayOutputStream getImageStream ()
void setImageStream (ByteArrayOutputStream value)
String getImageBase64 ()
String getImageFormat ()
void setImageFormat (String value)
Color getForeColor ()
void setForeColor (Color value)
Color getBackColor ()
void setBackColor (Color value)
boolean getDispStartStopCode ()
void setDispStartStopCode (boolean value)
CodeSet128 getCodeABC ()
void setCodeABC (CodeSet128 _codeABC)
void draw (String code)
void draw (String code, float x, float y, float width, float height)
void draw (String code, float x, float y, float width, float height, String filePath)
void draw (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi)
void draw (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi, boolean roundDecimalPoint)
void drawDelicate (String code, float x, float y, float minLineWidth, float height)
void drawDelicate (String code, float x, float y, float minLineWidth, float height, String filePath)
void drawDirect (String code, float x, float y, float width, float height)
void drawDirect (String code, float x, float y, float width, float height, String filePath)
void drawDirect (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi, boolean roundDecimalPoint)
void drawDirect (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi)
void drawConvenienceDelicate (String code, float x, float y, float minLineWidth, float height)
void drawConvenience (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi, boolean roundDecimalPoint)
void drawConvenienceDirect (String code, float x, float y, float width, float height, GraphicsUnit gu, int dpi, boolean roundDecimalPoint)
void pDrawConvenienceDelicate (String code, float mmX, float mmY, float mmHeight)
float getDrawDirectWidth (String code, float width)
float getDrawDelicateWidth (String code, float minLineWidth)
float getDrawConvenienceDelicateWidth (String code, float minLineWidth)
String writeSVGToString (String code, float x, float y, float width, float height)
String writeSVGConvenienceToString (String code, float x, float y, float width, float height)

詳解

GS1-128バーコードを生成するためのバーコードライブラリクラスです。

著者
PAO

構築子と解体子

◆ GS1_128() [1/4]

pao.barcode.GS1_128.GS1_128 ( Graphics2D g)

GS1-128のインスタンスを作成します。

引数
gバーコードを描画するGraphics2Dオブジェクト

◆ GS1_128() [2/4]

pao.barcode.GS1_128.GS1_128 ( String filePath)

GS1-128のインスタンスを作成します。

引数
filePath出力画像ファイルパス

◆ GS1_128() [3/4]

pao.barcode.GS1_128.GS1_128 ( )

SVG出力のみを行う場合は基本的にこのコンストラクターを利用してください。 デフォルトではPNG形式の画像データが指定されます。

◆ GS1_128() [4/4]

pao.barcode.GS1_128.GS1_128 ( String imgFormat,
boolean useStream )

ストリーム出力用のGS1-128インスタンスを作成します。

引数
imgFormat画像フォーマット ("png", "jpeg", "bmp"など)
useStreamtrue: ストリーム出力を使用

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