com.partnersoft.v3x.gui
Class BarbedLineDrawer
java.lang.Object
com.partnersoft.v3x.gui.LineDrawer
com.partnersoft.v3x.gui.BarbedLineDrawer
public class BarbedLineDrawer
- extends LineDrawer
Draws a line consisting of little barbs. You can couple it with a normal or
dashed LineDrawer to create a "Barbed Wire" effect.
|
Constructor Summary |
BarbedLineDrawer()
Creates a BarbedLineDrawer with the default interval (20), start (15) and
size(2). |
BarbedLineDrawer(int barbInterval,
int barbStart,
int barbSize)
Creates a BarbedLineDrawer with the given interval, start and size. |
|
Method Summary |
protected void |
setPoint(java.awt.Graphics g,
int index,
int x,
int y)
Overrides LineDrawer setPoint; sets the barbs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarbedLineDrawer
public BarbedLineDrawer(int barbInterval,
int barbStart,
int barbSize)
- Creates a BarbedLineDrawer with the given interval, start and size.
BarbedLineDrawer
public BarbedLineDrawer()
- Creates a BarbedLineDrawer with the default interval (20), start (15) and
size(2).
setPoint
protected void setPoint(java.awt.Graphics g,
int index,
int x,
int y)
- Overrides LineDrawer setPoint; sets the barbs.
- Overrides:
setPoint in class LineDrawer