Chapter 7. Shapes and Geometries

Silverlight's 2-D drawing support is the basic foundation for many of its more sophisticated features, such as custom-drawn controls, interactive graphics, and animation. Even if you don't plan to create customized art for your application, you need to have a solid understanding of Silverlight's drawing fundamentals. You'll use it to add professional yet straightforward touches, like reflection effects. You'll also need it to add interactivity to your graphics—for example, to make shapes move or change in response to user actions.

Silverlight supports a surprisingly large subset of the drawing features from WPF, its more capable sibling. In this chapter, you'll explore the shape model, which allows you to construct ...

Get Pro Silverlight 2 in C# 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.