uavsim.graphics
Class BoxDescriptor

java.lang.Object
  extended by uavsim.graphics.A_ShapeDescriptor<Box>
      extended by uavsim.graphics.BoxDescriptor

public class BoxDescriptor
extends A_ShapeDescriptor<Box>

Defines a basic geometric box with a body fill color and an outline with a color and thickness.

Author:
Dan Tappan [14.07.11]

Field Summary
 
Fields inherited from class uavsim.graphics.A_ShapeDescriptor
_bodyColor, _outlineColor, _outlineScale
 
Constructor Summary
BoxDescriptor(Box box, java.awt.Color bodyColor, Scaler outlineScale, java.awt.Color outlineColor)
          Creates a box descriptor.
 
Method Summary
 
Methods inherited from class uavsim.graphics.A_ShapeDescriptor
getBodyColor, getOutlineColor, getOutlineScale, getShape, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoxDescriptor

public BoxDescriptor(Box box,
                     java.awt.Color bodyColor,
                     Scaler outlineScale,
                     java.awt.Color outlineColor)
Creates a box descriptor.

Parameters:
box - - the box
bodyColor - - the body color
outlineScale - - the outline scale
outlineColor - - the outline color