Draws a rectangle of the specified size, centered at ( x , y ). @param x the x -coordinate of the center of the rectangle @param y the y -coordinate of the center of the rectangle @param halfWidth one half the width of the rectangle @param halfHeight one half the
(double x, double y, double halfWidth, double halfHeight)