com.quinncurtis.chart3djava
Class ChartRectangle2D

java.lang.Object
  extended by com.quinncurtis.chart3djava.ChartRectangle3D
      extended by com.quinncurtis.chart3djava.ChartRectangle2D

public class ChartRectangle2D
extends ChartRectangle3D

This method extends the Rectangle2D.Double class, adding more routines for setting the rectangle frame, and returning the points forming the rectangles frame.


Constructor Summary
ChartRectangle2D()
          This constructor creates an Rectangle2D object defined by its position, height and width.
ChartRectangle2D(ChartRectangle2D r)
          This constructor creates an ChartRectangle2D object based on the properties of a ChartRectangle2D object.
ChartRectangle2D(double xx, double yy, double ww, double hh)
          This constructor creates an ChartRectangle2D object defined by its position, height and width.
ChartRectangle2D(java.awt.geom.Rectangle2D.Float r)
          This constructor creates an ChartRectangle2D object based on the properties of a RectangleF object.
 
Method Summary
 
Methods inherited from class com.quinncurtis.chart3djava.ChartRectangle3D
clone, contains, contains, contains, contains, copy, fixRectangle, getCenterX, getCenterY, getCenterZ, getDepth, getDiagonalCorner, getHeight, getRectangle, getRectangleD, getRectangleF, getWidth, getX, getX1, getX2, getY, getY1, getY2, getZ, getZ1, getZ2, intersectsWith, intersectsWith2, normalizeHW, setDepth, setDiagonalCorner, setFrame, setFrame, setFrame, setFrame, setFrame, setFrame, setFrameFromDiaglonal, setFrameFromDiaglonal, setFrameFromDiagonal, setFrameFromDiagonal, setFrameFromDiagonal, setHeight, setLocation, setLocation, setWidth, setX1, setX2, setY1, setY2, setZ1, setZ2
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartRectangle2D

public ChartRectangle2D()
This constructor creates an Rectangle2D object defined by its position, height and width.


ChartRectangle2D

public ChartRectangle2D(double xx,
                        double yy,
                        double ww,
                        double hh)
This constructor creates an ChartRectangle2D object defined by its position, height and width.

Parameters:
xx - The x-position of the upper left of the rectangle.
yy - The y-position of the upper left of the rectangle.
ww - w The width of the rectangle.
hh - h The height of the rectangle.

ChartRectangle2D

public ChartRectangle2D(ChartRectangle2D r)
This constructor creates an ChartRectangle2D object based on the properties of a ChartRectangle2D object.

Parameters:
r - The source rectangle.

ChartRectangle2D

public ChartRectangle2D(java.awt.geom.Rectangle2D.Float r)
This constructor creates an ChartRectangle2D object based on the properties of a RectangleF object.

Parameters:
r - The source rectangle.