SE450
:
Drawing Rectangles and Ellipses
[30/41]
Rectangle2D.Double constructed with
top left corner
width
height
g2.draw(new Rectangle2D.Double(x, y, width, height));
For Ellipse2D.Double, specify bounding box