![]() |
Barcode.jar
ver 3.0.0
Java 開発者向け バーコード作成ライブラリ
|
pao.barcode.IBarCodeを継承しています。
クラス | |
| enum | DatabarType |
公開メンバ関数 | |
| Gs1DatabarExpanded (Graphics2D g) | |
| Gs1DatabarExpanded (String filePath) | |
| boolean | getTextWrite () |
| void | setTextWrite (boolean value) |
| boolean | getTextKintou () |
| void | setTextKintou (boolean value) |
| Font | getTextFont () |
| void | setTextFont (Font value) |
| float | getRotateAngle () |
| void | setRotateAngle (float value) |
| int | getKuroBarChousei () |
| void | setKuroBarChousei (int value) |
| int | getDPI () |
| void | setDPI (int dpi) |
| int | getImgMargin () |
| void | setImgMargin (int value) |
| boolean | getDispStartStopCode () |
| void | setDispStartStopCode (boolean value) |
| String | getImgFilePath () |
| void | setImgFilePath (String _imgFilePath) |
| 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 | 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) |
| float | getDrawDirectWidth (String code, float width) |
| float | getDrawDelicateWidth (String code, float minLineWidth) |
| void | setSymbolType (DatabarType val) |
| DatabarType | getSymbolType () |
| void | setNoOfColumns (int columns) |
| boolean | encode (String code) |
限定公開メンバ関数 | |
| void | setLinkageFlag () |
| void | unsetLinkageFlag () |
Class Gs1DatabarExpanded is a barcode library used to generate barcode with GS1 Databar Expanded (GS1-RSS Expanded) method
| pao.barcode.Gs1DatabarExpanded.Gs1DatabarExpanded | ( | Graphics2D | g | ) |
Creates a new instance for Gs1DatabarExpanded
| g | Graphics where the barcode is going to be generated in |
| pao.barcode.Gs1DatabarExpanded.Gs1DatabarExpanded | ( | String | filePath | ) |
Creates a new instance for Gs1DatabarExpanded
| filePath | output image file path |
| void pao.barcode.Gs1DatabarExpanded.draw | ( | String | code | ) |
Draws barcode without specific position, width, and height
| code | Text to be generated as barcode |
| void pao.barcode.Gs1DatabarExpanded.draw | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height | ||
| ) |
Draws barcode with specific position, width, and height
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| void pao.barcode.Gs1DatabarExpanded.draw | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height, | ||
| String | filePath | ||
| ) |
Draws barcode with specific position, width, and height
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| filePath | image file path |
| void pao.barcode.Gs1DatabarExpanded.draw | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height, | ||
| GraphicsUnit | gu, | ||
| int | dpi | ||
| ) |
Draws barcode with specific position, width, and height
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| gu | Graphics Unit (mm, Inch, Point, Pixel) |
| dpi | Output Device dpi |
| void pao.barcode.Gs1DatabarExpanded.drawDelicate | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | minLineWidth, | ||
| float | height | ||
| ) |
Draws barcode with specific position, minimum line width, and height
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| minLineWidth | Minimum line width of barcode |
| height | Height of barcode |
| Exception |
| void pao.barcode.Gs1DatabarExpanded.drawDelicate | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | minLineWidth, | ||
| float | height, | ||
| String | filePath | ||
| ) |
Draws barcode with specific position, minimum line width, and height
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| minLineWidth | Minimum line width of barcode |
| height | Height of barcode |
| filePath | image file path |
| Exception |
| void pao.barcode.Gs1DatabarExpanded.drawDirect | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height | ||
| ) |
Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed.
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| void pao.barcode.Gs1DatabarExpanded.drawDirect | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height, | ||
| String | filePath | ||
| ) |
Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed.
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| filePath | image file path |
| void pao.barcode.Gs1DatabarExpanded.drawDirect | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height, | ||
| GraphicsUnit | gu, | ||
| int | dpi, | ||
| boolean | roundDecimalPoint | ||
| ) |
Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed.
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| gu | Graphics Unit (mm, Inch, Point, Pixel) |
| dpi | Output Device dpi |
| roundDecimal | Rounding a decimal point |
| void pao.barcode.Gs1DatabarExpanded.drawDirect | ( | String | code, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height, | ||
| GraphicsUnit | gu, | ||
| int | dpi | ||
| ) |
Barcode is directly drawn within the width set in pixel. Accuracy and speed are better than Draw method, although the width cannot be fixed.
| code | Text to be generated as barcode |
| x | Position of barcode (X axis) |
| y | Position of barcode (Y axis) |
| width | Width of barcode |
| height | Height of barcode |
| boolean pao.barcode.Gs1DatabarExpanded.getDispStartStopCode | ( | ) |
Returns true if start-stop-code will be generated along with barcode (dummy for interface)
| int pao.barcode.Gs1DatabarExpanded.getDPI | ( | ) |
Get DPI for fine adjustment of black bars.(The defined value is 600DPI.)
| int pao.barcode.Gs1DatabarExpanded.getImgMargin | ( | ) |
Get Pixel of Image Margin
| int pao.barcode.Gs1DatabarExpanded.getKuroBarChousei | ( | ) |
Set number of dot for fine adjustment of black bars.(The defined value of dot is 0.)
| value | The number of dot for fine adjustment of black bars. |
| float pao.barcode.Gs1DatabarExpanded.getRotateAngle | ( | ) |
Returns barcode angle
| DatabarType pao.barcode.Gs1DatabarExpanded.getSymbolType | ( | ) |
databar 14 シンボルタイプ 取得 (一層型・多層型)
| Font pao.barcode.Gs1DatabarExpanded.getTextFont | ( | ) |
Gets the font used in writing text
| boolean pao.barcode.Gs1DatabarExpanded.getTextKintou | ( | ) |
Get drawing position drawing position (to fit a barcode to set width).
| boolean pao.barcode.Gs1DatabarExpanded.getTextWrite | ( | ) |
Returns true if text will be generated along with the barcode
| void pao.barcode.Gs1DatabarExpanded.setDispStartStopCode | ( | boolean | value | ) |
Enables or disables start-stop-code (dummy for interface)
| value | true to enable start-stop-code, false to disable it |
| void pao.barcode.Gs1DatabarExpanded.setDPI | ( | int | dpi | ) |
Set DPI for fine adjustment of black bars.(The defined value is 600DPI.)
| dpi | DPI |
| void pao.barcode.Gs1DatabarExpanded.setImgMargin | ( | int | value | ) |
Set Pixel of Image Margin
| value | Pixelof Image Margin |
| void pao.barcode.Gs1DatabarExpanded.setKuroBarChousei | ( | int | value | ) |
Set number of dot for fine adjustment of black bars.(The defined value of dot is 0.)
| value | The number of dot for fine adjustment of black bars. |
| void pao.barcode.Gs1DatabarExpanded.setNoOfColumns | ( | int | columns | ) |
Set the width of a stacked symbol by selecting the number of "columns" or symbol segments in each row of data.
| columns | Number of segments in each row |
| void pao.barcode.Gs1DatabarExpanded.setRotateAngle | ( | float | value | ) |
Sets barcode angle
| value | Barcode angle |
| void pao.barcode.Gs1DatabarExpanded.setSymbolType | ( | DatabarType | val | ) |
databar 14 シンボルタイプ セット (一層型・多層型)
| val | symbol type(一層型・多層型) |
| void pao.barcode.Gs1DatabarExpanded.setTextFont | ( | Font | value | ) |
Sets the font used in writing text
| value | Font used in writing text |
| void pao.barcode.Gs1DatabarExpanded.setTextKintou | ( | boolean | value | ) |
Set drawing position drawing position (to fit a barcode to set width).
| value | true: Draw barcode within an overall width by equal spacing, false: Draw barcode at a bar meaning a code (default) |
| void pao.barcode.Gs1DatabarExpanded.setTextWrite | ( | boolean | value | ) |
Enables or disables text writing
| value | true to enable text writing, false to disable it |
1.8.11