settextcolor(colorsets the color of the text to color displaying images the graphics module also provides minimal support for displaying certain image formats into graphwin most platforms will support jpegppm and gif images display is done with an image object images support the generic methods move(dx,dy)draw(graphwin)undraw()and clone(image specific methods are given below image(centerpointfilenameconstructs an image from contents of the given filecentered at the given center point getanchor(returns clone of the point where the image is centered generating colors colors are indicated by strings most normal colors such as 'red''purple''green''cyan'etc should be available many colors come in various shadessuch as 'red ''red ','red ''red 'which are increasingly darker shades of red the graphics module also provides function for mixing your own colors numerically the function color_rgb(redgreenbluewill return string representing color that is mixture of the intensities of redgreen and blue specified these should be ints in the range - thus color_rgb( is bright redwhile color_rgb( is medium magenta summary this introduced computer graphics and object-based programming here is summary of some of the important concepts an object is computational entity that combines data and operations objects know stuff and can do stuff an object' data is stored in instance variablesand its operations are called methods every object is an instance of some class it is the class that determines what methods an object will have an instance is created by calling constructor method an object' attributes are accessed via dot notation generally computations with objects are performed by calling on an object' methods accessor methods return information about the instance variables of an object mutator methods change the value(sof instance variables the graphics module supplied with this book provides number of classes that are useful for graphics programming graphwin is an object that represents window on the screen for displaying graphics various graphical objects such as pointlinecirclerectangle