Package org.krysalis.barcode4j

Examples of org.krysalis.barcode4j.BarcodeDimension


  }

  public RenderedImage generateSquareDataMatrix(Barcodable barcodable, int width) throws IOException {
    DataMatrixBean dmb = (DataMatrixBean)DATAMATRIX;
    dmb.setShape(SymbolShapeHint.FORCE_SQUARE);
    return getImage(barcodable, dmb, new BarcodeDimension(width, width));
  }
View Full Code Here


  }

  public RenderedImage generateRectDataMatrix(Barcodable barcodable, int width, int height) throws IOException {
    DataMatrixBean dmb = (DataMatrixBean)DATAMATRIX;
    dmb.setShape(SymbolShapeHint.FORCE_RECTANGLE);
    return getImage(barcodable, dmb, new BarcodeDimension(width, height))
  }
View Full Code Here

TOP

Related Classes of org.krysalis.barcode4j.BarcodeDimension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.