VASSAL.counters
Class ColoredBorder
java.lang.Object
|
+--VASSAL.counters.ColoredBorder
- All Implemented Interfaces:
- Highlighter
- public class ColoredBorder
- extends java.lang.Object
- implements Highlighter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColoredBorder
public ColoredBorder()
ColoredBorder
public ColoredBorder(java.awt.Color c,
int thickness)
draw
public void draw(GamePiece p,
java.awt.Graphics g,
int x,
int y,
java.awt.Component obs,
double zoom)
- Specified by:
draw in interface Highlighter
boundingBox
public java.awt.Rectangle boundingBox(GamePiece p)
- Specified by:
boundingBox in interface Highlighter
setColor
public void setColor(java.awt.Color c)
getColor
public java.awt.Color getColor()
getThickness
public int getThickness()
setThickness
public void setThickness(int thickness)