|
| YubinCustomer (Graphics2D g) |
|
| YubinCustomer (String filepath) |
|
float | getRotateAngle () |
|
void | setRotateAngle (float value) |
|
int | getDPI () |
|
void | setDPI (int dpi) |
|
int | getImgMargin () |
|
void | setImgMargin (int value) |
|
void | draw (String code) throws ErrYubinBadChar |
|
void | draw (String code, float x, float y) throws ErrYubinBadChar |
|
void | draw (String code, float x, float y, float point) throws ErrYubinBadChar |
|
void | draw (String code, float x, float y, float point, String filePath) throws ErrYubinBadChar |
|
float | getDrawWidth (String code, float point) throws ErrYubinBadChar |
|
Class YubinCustomer is a barcode library used to generate barcode with YubinCustomer method
- 著者
- PAO
pao.barcode.YubinCustomer.YubinCustomer |
( |
Graphics2D |
g | ) |
|
Creates a new instance for YubinCustomer
- 引数
-
g | Graphics where the barcode is going to be generated in |
pao.barcode.YubinCustomer.YubinCustomer |
( |
String |
filepath | ) |
|
Creates a new instance for YubinCustomer
- 引数
-
filePath | output image file path |
Draws barcode without specific position
- 引数
-
code | Text to be generated as barcode |
- 例外
-
ErrYubinBadChar | if code contains unknown character |
void pao.barcode.YubinCustomer.draw |
( |
String |
code, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| throws ErrYubinBadChar |
Draws barcode with specific position
- 引数
-
code | Text to be generated as barcode |
x | Position of barcode (X axis) |
y | Position of barcode (Y axis) |
- 例外
-
ErrYubinBadChar | if code contains unknown character |
void pao.barcode.YubinCustomer.draw |
( |
String |
code, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
point |
|
) |
| throws ErrYubinBadChar |
Draws barcode with specific position
- 引数
-
code | Text to be generated as barcode |
x | Position of barcode (X axis) |
y | Position of barcode (Y axis) |
point | Value indicating barcode's size |
- 例外
-
ErrYubinBadChar | if code contains unknown character |
void pao.barcode.YubinCustomer.draw |
( |
String |
code, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
point, |
|
|
String |
filePath |
|
) |
| throws ErrYubinBadChar |
Draws barcode with specific position
- 引数
-
code | Text to be generated as barcode |
x | Position of barcode (X axis) |
y | Position of barcode (Y axis) |
point | Value indicating barcode's size |
filePath | image file path |
- 例外
-
ErrYubinBadChar | if code contains unknown character |
int pao.barcode.YubinCustomer.getDPI |
( |
| ) |
|
Get DPI for fine adjustment of black bars.(The defined value is 600DPI.)
- 戻り値
- DPI
int pao.barcode.YubinCustomer.getImgMargin |
( |
| ) |
|
Get Pixel of Image Margin
float pao.barcode.YubinCustomer.getRotateAngle |
( |
| ) |
|
Returns barcode angle
- 戻り値
- barcode angle
void pao.barcode.YubinCustomer.setDPI |
( |
int |
dpi | ) |
|
Set DPI for fine adjustment of black bars.(The defined value is 600DPI.)
- 引数
-
void pao.barcode.YubinCustomer.setImgMargin |
( |
int |
value | ) |
|
Set Pixel of Image Margin
- 引数
-
value | Pixelof Image Margin |
void pao.barcode.YubinCustomer.setRotateAngle |
( |
float |
value | ) |
|
このクラス詳解は次のファイルから抽出されました:
- C:/Pao/Barcode.jar/src/pao/barcode/YubinCustomer.java