Java Abstract Window Toolkit (AWT)
RectangularShape class implements the shape interface, in which few more methods are added of its own.
Such methods are used to find out certain information regarding the size and location of shape so that to find out the rectangle’s center point and to set the shape’s bounds.
Dimension w,x,h and location x,y defines a rectangle. These given methods specify rectangle in float or double precision. Rectangle2D.DoubleRectangle2D.Float