-
public class BarCodeUtilsBar code utils
-
-
Field Summary
Fields Modifier and Type Field Description public final static BarCodeUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final BitmapcreateBarCode(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight)Create bar code bitmap final BitmapcreateBarCodeWithText(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight)Create bar code bitmap with text -
-
Method Detail
-
createBarCode
final Bitmap createBarCode(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight)
Create bar code bitmap
- Parameters:
code- bar codeformat- bar type,such as:BarcodeFormat.desiredWidth- bar width,such as: 400desiredHeight- bar height,such as: 100
-
createBarCodeWithText
final Bitmap createBarCodeWithText(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight)
Create bar code bitmap with text
- Parameters:
code- bar codeformat- bar type,such as:BarcodeFormat.desiredWidth- bar width,such as: 400desiredHeight- bar height,such as: 100
-
-
-
-