Skip to main content
  • 199 Accesses

Abstract

We’ve covered a lot of ground so far demonstrating Silverlight’s capabilities to build rich user interfaces. 2D and 3D graphics play a vital role in developing rich user interfaces providing different effects. Silverlight provides a rich set of classes to perform 2D drawing, including lines, Bezier curves, and various geometrical figures such as ellipses and rectangles. We’ll take a look at transformations and brushes, both of which provide a great deal of control in how elements are presented on an interface. Any element inheriting from UIElement can have a transform or a composite transform (introduced in Silverlight 4) applied to it—you can create some interesting video presentations, for example, by skewing or growing/shrinking a video. Silverlight 3 introduced development of 3D effects using perspective transforms. We’ll also take a look at the support for brushes in Silverlight. You can use specific brushes to fill surfaces with images or video and other effects such as gradients.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Ashish Ghoda

About this chapter

Cite this chapter

Ghoda, A. (2010). Graphics. In: Introducing Silverlight 4. Apress. https://doi.org/10.1007/978-1-4302-2992-6_9

Download citation

Publish with us

Policies and ethics