Package 

Object BarCodeUtils

    • Method Summary

      Modifier and Type Method Description
      final Bitmap createBarCode(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight) Create bar code bitmap
      final Bitmap createBarCodeWithText(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight) Create bar code bitmap with text
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createBarCode

         final Bitmap createBarCode(String code, BarcodeFormat format, Integer desiredWidth, Integer desiredHeight)

        Create bar code bitmap

        Parameters:
        code - bar code
        format - bar type,such as:BarcodeFormat.
        desiredWidth - bar width,such as: 400
        desiredHeight - 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 code
        format - bar type,such as:BarcodeFormat.
        desiredWidth - bar width,such as: 400
        desiredHeight - bar height,such as: 100