O'Reilly logo

Pro Silverlight 5 in C# by Matthew Macdonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  9

Brushes, Bitmaps, and Printing

In the previous chapter, you started your exploration into Silverlight's 2-D drawing model. You considered how you can use Shape-derived classes such as Rectangle, Ellipse, Polygon, Polyline, and Path to create a variety of different drawings. However, shapes alone fall short of what you need to create detailed 2-D vector art for a graphically rich application. In this chapter, you'll pick up the missing pieces.

First, you'll learn about the Silverlight brushes that allow you to create gradients, tiled patterns, and bitmap fills in any shape. Next, you'll see how you can use Silverlight's effortless support for transparency to blend multiple images and elements together. You'll also explore pixel ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required