VASSAL.counters
Class ColoredBorder

java.lang.Object
  |
  +--VASSAL.counters.ColoredBorder
All Implemented Interfaces:
Highlighter

public class ColoredBorder
extends java.lang.Object
implements Highlighter


Constructor Summary
ColoredBorder()
           
ColoredBorder(java.awt.Color c, int thickness)
           
 
Method Summary
 java.awt.Rectangle boundingBox(GamePiece p)
           
 void draw(GamePiece p, java.awt.Graphics g, int x, int y, java.awt.Component obs, double zoom)
           
 java.awt.Color getColor()
           
 int getThickness()
           
 void setColor(java.awt.Color c)
           
 void setThickness(int thickness)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColoredBorder

public ColoredBorder()

ColoredBorder

public ColoredBorder(java.awt.Color c,
                     int thickness)
Method Detail

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)