graphwin objects graphwin object represents window on the screen where graphical images may be drawn program may define any number of graphwins graphwin understands the following methodsgraphwin(titlewidthheightconstructs new graphics window for drawing on the screen the parameters are optionalthe default title is "graphics window,and the default size is plot(xycolordraws the pixel at (xyin the window color is optionalblack is the default plotpixel(xycolordraws the pixel at the "rawposition (xyignoring any coordinate transformations set up by setcoords setbackground(colorsets the window background to the given color the initial background is gray see section for information on specifying colors close(closes the on-screen window getmouse(pauses for the user to click mouse in the window and returns where the mouse was clicked as point object setcoords(xllyllxuryursets the coordinate system of the window the lower left corner is (xllylland the upper right corner is (xuryurall subsequent drawing will be done with respect to the altered coordinate system (except for plotpixelgraphics objects the module provides the following classes of drawable objectspointlinecircleovalrectanglepolygonand text all objects are initially created unfilled with black outline all graphics objects support the following generic set of methodssetfill(colorsets the interior of the object to the given color setoutline(colorsets the outline of the object to the given color setwidth(pixelssets the width of the outline of the object to this many pixels (does not work for point draw(agraphwindraws the object into the given graphwin undraw(undraws the object from graphics window this produces an error if the object is not currently drawn move(dx,dymoves the object dx units in the direction and dy units in the direction if the object is currently drawnthe image is adjusted to the new position clone(returns duplicate of the object clones are always created in an undrawn state other than thatthey are identical to the cloned object