Class BaselineAlignment

java.lang.Object
org.krysalis.barcode4j.BaselineAlignment

public class BaselineAlignment extends Object
Enumeration for the alignment of bars when the heights are not uniform.
Version:
$Id: BaselineAlignment.java,v 1.3 2004-10-02 14:53:22 jmaerki Exp $
Author:
Chris Dolphy
  • Field Details

    • ALIGN_TOP

      public static final BaselineAlignment ALIGN_TOP
      The bars are aligned to be even along the top.
    • ALIGN_BOTTOM

      public static final BaselineAlignment ALIGN_BOTTOM
      The bars are aligned to be even along the bottom.
  • Constructor Details

    • BaselineAlignment

      protected BaselineAlignment(String name)
      Creates a new BaselineAlignment instance.
      Parameters:
      name - the name for the instance
  • Method Details

    • byName

      public static BaselineAlignment byName(String name)
      Returns a BaselineAlignment instance by name.
      Parameters:
      name - the name of the instance
      Returns:
      the requested instance
    • getName

      public String getName()
      Returns:
      the name of the instance.