Common Graphics : Drawing operations : Drawing rectangles

Drawing rectangles
The drawRectangle:x:y:width:height:, fillRectangle:x:y:width:height:, drawRectangles:rectangles: and fillRectangles:rectangles: messages are used to draw outlined and filled rectangles. The fillRectangle: and fillRectangles: messages are shown in the following example:
sp006070
 
sp006075