PDF417Module (Barbecue 1.0.6d API)
Keywords: net.sourceforge.barbecue.twod.pdf417.PDF417Module class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.barbecue.twod.pdf417
Class PDF417Module

    java.lang.Object
      net.sourceforge.barbecue.Module
          net.sourceforge.barbecue.twod.pdf417.PDF417Module

public class PDF417Module
extends Module

Specific module implementation that draws an entire PDF417 barcode as one barbecue module. This is not an ideal implementation, but was the best way of integrating the PDF417 code short of re-writing it.

Contributed by Alex Ferrer

Author:
  Alex Ferrer, Ian Bourke

Field Summary

Fields inherited from class net.sourceforge.barbecue.Module
`bars`

Constructor Summary
`PDF417Module(java.lang.String data)` Constructs the PDF417 barcode with the specified data.

Method Summary
`protected double` | `draw(AbstractOutput outputter, double x, double y)` Draw the barcode to the specified outputter, at the specified origin.

Methods inherited from class net.sourceforge.barbecue.Module
`equals, getSymbol, hashCode, setSymbol, toString, widthInBars`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PDF417Module

    public PDF417Module(java.lang.String data)

  Constructs the PDF417 barcode with the specified data.

Parameters:
  `data` - The data to encode

Method Detail

### draw

    protected double draw(AbstractOutput outputter,
                          double x,
                          double y)

  Draw the barcode to the specified outputter, at the specified origin.

  Overrides:
    `draw` in class `Module`
  Parameters:
    `outputter` - The outputter
    `x` - The X component of the origin
    `y` - The Y component of the origin
  Returns:
    The total width drawn

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD