public class SeparatorModule extends Module
| Constructor and Description |
|---|
SeparatorModule()
Constructs a new SeparatorModule with a width of 1.
|
SeparatorModule(int width)
Constructs a new SeparatorModule with the specified width.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
draw(Output output,
int x,
int y,
int barWidth,
int barHeight)
Draws the module to the specified output.
|
String |
getSymbol()
Returns the symbol that this module encodes.
|
public SeparatorModule()
public SeparatorModule(int width)
width - The width of the separator in bar widths.protected int draw(Output output, int x, int y, int barWidth, int barHeight) throws OutputException
draw in class Moduleoutput - The barcode output to draw tox - The starting X co-ordinatey - The starting Y co-ordinatebarWidth - barHeight - OutputExceptionCopyright © 2003-2013 barbecue.sourceforge.net. All Rights Reserved.