Draws a square of side length 2r, centered at ( x , y ). @param x the x -coordinate of the center of the square @param y the y -coordinate of the center of the square @param halfLength one half the length of any side of the square @throws IllegalArgumentException i
(double x, double y, double halfLength)