Class SymbolShapeHint

java.lang.Object
org.krysalis.barcode4j.impl.datamatrix.SymbolShapeHint

public class SymbolShapeHint extends Object
Enumeration for DataMatrix symbol shape hint. It can be used to force square or rectangular symbols.
Version:
$Id: SymbolShapeHint.java,v 1.2 2007-07-13 09:57:05 jmaerki Exp $
  • Field Details

    • FORCE_NONE

      public static final SymbolShapeHint FORCE_NONE
      The human-readable part is suppressed.
    • FORCE_SQUARE

      public static final SymbolShapeHint FORCE_SQUARE
      The human-readable part is placed at the top of the barcode.
    • FORCE_RECTANGLE

      public static final SymbolShapeHint FORCE_RECTANGLE
      The human-readable part is placed at the bottom of the barcode.
  • Constructor Details

    • SymbolShapeHint

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

    • byName

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

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

      public String toString()
      Overrides:
      toString in class Object
      See Also: