Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

19. WPF Graphics > Brushes

Brushes

image

Painters these days don’t necessarily use a brush to transfer paint from the palette to the canvas. (Come to think of it, they don’t necessarily use a canvas, either.) But in .NET, if you’re going to display a color, you need to load it into a Brush. On the other hand, .NET lets you paint with more than a single color. You can load a brush with multiple colors in a gradient, an image, or even video. At last, you can paint with stripes or plaids!

image


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


 Â