Alcuni metodi della classe Graf ereditati da GraphWin

A partire dal modulo per la grafica del prof. John M. Zelle Ph. D. Wartburg College
(graphics.py manualetto dello stesso autore graphics.pdf)

plot(x, y, color)
Draws the pixel at (x,y) in the window. Color is optional, black is the default. Note: pixel-level operations are very inefficient and this method should be avoided.
plotPixel(x, y, Color)
Draws the pixel at the ``raw'' position (x,y) ignoring any coordinate transformations set up by setCoords. Note: pixel-level operations are very inefficient and this method should be avoided.
setBackground(color)
Sets the window background to the given color. The initial background is gray. 
close()
Closes the on-screen window. Once a window is closed, further operations on the window will raise a GraphicsError exception.
isClosed()
Returns a Boolean indicating if the window has been closed either by an explicit call to close or a click on its close box.
getMouse()
Pauses for the user to click in the window and returns where the mouse was clicked as a Point object. Raises GraphicsError if the window is closed while getMouse is in progress.
update()
Causes any pending window operations to be performed. Normally, this will happen automatically during idle periods. Explicit update() calls may be useful for animations.