Class HeightVariableBarcodeBean

java.lang.Object
org.krysalis.barcode4j.impl.AbstractBarcodeBean
org.krysalis.barcode4j.impl.HeightVariableBarcodeBean
All Implemented Interfaces:
BarcodeGenerator
Direct Known Subclasses:
AbstractFourStateBean, POSTNETBean

public abstract class HeightVariableBarcodeBean extends AbstractBarcodeBean
Base class for barcodes that encode information by varying the height of the bars.
Version:
$Id: HeightVariableBarcodeBean.java,v 1.2 2006-11-07 16:43:37 jmaerki Exp $
Author:
Chris Dolphy
  • Constructor Details

    • HeightVariableBarcodeBean

      public HeightVariableBarcodeBean()
  • Method Details

    • getBarHeight

      public abstract double getBarHeight(int height)
      Returns the effective height of a bar with a given logical height.
      Parameters:
      height - the logical height (1=short, 2=tall)
      Returns:
      double