Barcode.jar  ver 3.0.0
Java 開発者向け バーコード作成ライブラリ
公開メンバ関数 | 限定公開メンバ関数 | 全メンバ一覧
pao.barcode.Common クラス

公開メンバ関数

 Common ()
 
void fillRect_float (Graphics2D g, float x, float y, float width, float height)
 
float cmTo (Graphics2D g, float cm)
 
float cmTo (int dpi, float cm)
 
float mm2Pixel (int dpi, float mm)
 
float inch2Pixel (int dpi, float inch)
 
float point2Pixel (int dpi, float point)
 
float toCm (Graphics g, float hatena)
 
float pointTo (Graphics g, float point)
 
boolean isNumeric (String hoge)
 
boolean isParseAbleInteger (String s, int i1, int i2)
 
float ToPixel (Graphics g, float Hatena)
 
Graphics2D getCanvasAndGraphics (float width, float height, boolean textWrite, Font soejiFont, int rowCnt, IBarCodeImg bar)
 
Graphics2D getCanvasAndGraphics (float width, float height, IBarCodeImg bar)
 
Graphics2D getCanvasAndGraphics (float x, float y, float width, float height, boolean textWrite, Font soejiFont, int rowCnt, IBarCodeImg bar)
 
Graphics2D getCanvasAndGraphics (float x, float y, float width, float height, IBarCodeImg bar)
 
String bin2pat (String bin)
 
String getSuffix (String fileName)
 

限定公開メンバ関数

AffineTransform setToRotation (double theta, double x, double y)
 

詳解

著者
PAO

構築子と解体子

pao.barcode.Common.Common ( )

Creates an instance for Common

メソッド詳解

float pao.barcode.Common.cmTo ( Graphics2D  g,
float  cm 
)

Converts cm to pixel

引数
gGraphics
cmValue in cm
戻り値
Value in pixel
void pao.barcode.Common.fillRect_float ( Graphics2D  g,
float  x,
float  y,
float  width,
float  height 
)

Fill rectangle by float

引数
gGraphics
x
x
width
height
float pao.barcode.Common.inch2Pixel ( int  dpi,
float  inch 
)

Converts inch to pixel

引数
gGraphics
inchValue in inch
戻り値
Value in pixel
boolean pao.barcode.Common.isNumeric ( String  hoge)

Number Check Of String

引数
hogeString
戻り値
true if string is number, false is not number
boolean pao.barcode.Common.isParseAbleInteger ( String  s,
int  i1,
int  i2 
)

Checks whether string s is parseable to integer or not

引数
sString
i1First index in string to be parsed
i2Last index in string to be parsed
戻り値
true if string could be parsed, false otherwise
float pao.barcode.Common.mm2Pixel ( int  dpi,
float  mm 
)

Converts mm to pixel

引数
gGraphics
mmValue in mm
戻り値
Value in pixel
float pao.barcode.Common.point2Pixel ( int  dpi,
float  point 
)

Converts point to pixel

引数
gGraphics
pintValue in point
戻り値
Value in pixel
float pao.barcode.Common.pointTo ( Graphics  g,
float  point 
)

Converts point to pixel

引数
gGraphics
pointValue in point
戻り値
Value in pixel
AffineTransform pao.barcode.Common.setToRotation ( double  theta,
double  x,
double  y 
)
protected
引数
theta
x
y
戻り値
float pao.barcode.Common.toCm ( Graphics  g,
float  hatena 
)

Converts pixel to cm

引数
gGraphics
hatenaValue in pixel
戻り値
Value in cm

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