Drawing Shapes
Go Up to Using Canvas Methods to Draw Graphic Objects
Canvases have methods for drawing different kinds of shapes. The canvas draws the outline of a shape with its pen, then fills the interior with its brush. The line that forms the border for the shape is controlled by the current Pen object.
This topic describes: