Each of the WPF graphical rendering options (shape, drawing and geometries, and visuals) makes extensive use of brushes, which allow you to control how the interior of a 2D surface is filled. WPF provides six different brush types, all of which extend System.Windows.Media.Brush. While Brush is abstract, the descendents described in Table 29-4 can be used to fill a region with just about any conceivable option.
|Brush Type||Meaning in Life|
|DrawingBrush||Paints an area with a Drawing derived object (GeometryDrawing, ImageDrawing, or VideoDrawing)|
|ImageBrush||Paints an area with an image (represented by an ImageSource object)|
|LinearGradientBrush||Paints an area with a linear gradient|