public final class BarCodeRegion
extends java.lang.Object
Represents the barcode's region
Constructor and Description |
---|
BarCodeRegion(java.awt.Point[] polygon) |
Modifier and Type | Method and Description |
---|---|
void |
drawBarCodeEdges(java.awt.Graphics g,
Pen pen)
Draws the bar code edges.
|
void |
fillBarCodeRegion(java.awt.Graphics g,
Brush brush)
Fills the bar code region.
|
java.awt.Point[] |
getPoints()
Gets the points of the region.
|
public void drawBarCodeEdges(java.awt.Graphics g, Pen pen)
Draws the bar code edges.
g
- The graphics.pen
- The pen.public void fillBarCodeRegion(java.awt.Graphics g, Brush brush)
Fills the bar code region.
g
- The graphics.brush
- The brush.public java.awt.Point[] getPoints()
Gets the points of the region.