August 2003
Beginner
600 pages
12h 55m
English
Now that you've learned about the Graphics object, pens, and rectangles, you'll probably find drawing shapes to be fairly simple. Shapes are drawn by calling methods of a Graphics object. Most methods require a rectangle, which is used as the bounding rectangle for the shape, as well as a pen. In this section, I'll show you what you need to do to draw different shapes.
I've chosen to discuss only the most commonly drawn shapes. The Graphics object contains many methods for drawing additional shapes. |
Drawing lines is accomplished with the DrawLine() method of the Graphics object. DrawLine() is one of the few drawing ...
Read now
Unlock full access