The Graphics class has methods for drawing shapes.