previous
|
start
|
next
Drawing Rectangles and Ellipses
Rectangle2D.Double constructed with
top left corner
width
height
g2.draw(new Rectangle2D.Double(x, y, width, height));
For Ellipse2D.Double, specify bounding box
previous
|
start
|
next