com.bytefarmers.util.math.geom
Class ZoneRectangle2D

java.lang.Object
  extended byjava.awt.geom.RectangularShape
      extended byjava.awt.geom.Rectangle2D
          extended byjava.awt.geom.Rectangle2D.Double
              extended bycom.bytefarmers.util.math.geom.ZoneRectangle2D
All Implemented Interfaces:
java.lang.Cloneable, java.awt.Shape

public class ZoneRectangle2D
extends java.awt.geom.Rectangle2D.Double

Author:
Fini A. Alring

Nested Class Summary
 
Nested classes inherited from class java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 
Field Summary
 boolean visible
           
 java.awt.Color zoneColor
           
 
Fields inherited from class java.awt.geom.Rectangle2D.Double
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
ZoneRectangle2D(java.lang.String name, double x1, double y1, double x2, double y2)
          Creates a new instance of Zone2DModel
 
Method Summary
 void render(java.awt.Graphics2D g2d)
           
 
Methods inherited from class java.awt.geom.Rectangle2D.Double
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, toString
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

visible

public boolean visible

zoneColor

public java.awt.Color zoneColor
Constructor Detail

ZoneRectangle2D

public ZoneRectangle2D(java.lang.String name,
                       double x1,
                       double y1,
                       double x2,
                       double y2)
Creates a new instance of Zone2DModel

Parameters:
name -
x1 -
y1 -
x2 -
y2 -
Method Detail

render

public void render(java.awt.Graphics2D g2d)