December 2001
Beginner
976 pages
22h 4m
English
![]() | Filling |
So far in this chapter, we have shown how to create lines, curves, and shapes. But what if you wanted to create solid shapes or shapes that contained a visual pattern? How would you accomplish this? The answer is by filling the shapes using a brush.
We have already covered the types of brushes you can use and the effects they provide earlier in this chapter. Feel free to go back if you need to refresh yourself. This section focuses specifically on filling.
To fill shapes, there are several methods provided on the Graphics object for this purpose. These methods include
FillClosedCurve
FillEllipse
FillPath
FillPolygon
FillRectangle
FillRegion ...
Read now
Unlock full access