Class EAN13

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, Serializable

    public class EAN13
    extends AbstractBarcodeEncoder
    Draws an EAN13 barcode at a specified location and size.Digits must be 13 characters long. A valid checksum is enforced.



    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -x <int> (property: x)
        X position of the top-left corner.
        default: 1
        minimum: 1
     
    -y <int> (property: y)
        Y position of the top-left corner.
        default: 1
        minimum: 1
     
    -width <int> (property: width)
        Width of the barcode in pixels.
        default: 100
        minimum: 1
     
    -height <int> (property: height)
        Height of the barcode in pixels.
        default: 100
        minimum: 1
     
    -margin <int> (property: margin)
        White margin surrounding the barcode.
        default: 5
        minimum: 0
     
    -digits <java.lang.String> (property: digits)
        Digits to be encoded.
        default: 0123456789012
     
    Author:
    lx51 (lx51 at students dot waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Digits

        protected String m_Digits
        Digits to be encoded.
    • Constructor Detail

      • EAN13

        public EAN13()