Skip to Content
Windows Forms Programming in Visual Basic .NET
book

Windows Forms Programming in Visual Basic .NET

by Chris Sells, Justin Gehtland
October 2003
Intermediate to advanced
736 pages
15h 25m
English
Addison-Wesley Professional
Content preview from Windows Forms Programming in Visual Basic .NET

Shapes

Now that you know how to frame and fill shapes with pens and brushes, you might be interested in the shapes that are available. Figure 4.15 shows them.

Figure 4.15. The Basic Shapes (See Plate 12)

All the shapes in Figure 4.15 were edged using a DrawXxx function from the Graphics object for the form—for example, DrawArc and DrawBezier. The shapes that can be filled were drawn using a FillXxx function, such as FillClosedCurve and FillEllipse. Not all of the shapes could be filled because not all of them are closed shapes; for example, there is no FillCurve. However, all the open shapes (except the Bezier) have closed-shape equivalents; for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Visual Basic .NET

Learning Visual Basic .NET

Jesse Liberty
Windows Forms 2.0 Programming

Windows Forms 2.0 Programming

Chris Sells, Michael Weinhardt

Publisher Resources

ISBN: 0321125193Purchase book