Skip to main content
  • 143 Accesses

Abstract

In the previous chapter, you considered how you can use Shape-derived classes like the Rectangle, Ellipse, Polygon, Polyline, and Path to create a variety of different drawings into Silverlight’s 2-D drawing model. However, shapes alone fall short of what you need to create detailed 2D vector art for a graphically rich application. There are more exotic Silverlight brushes that allow you to create gradients, tiled patterns, and bitmap fills in any shape. Silverlight’s effortless support for transparency allows you to blend multiple images and elements together. Transforms are specialized objects that can change the visual appearance of any element by scaling, rotating, or skewing it. When you combine these features—for example, tossing together a dash of transparency with the warping effect of a transform—you can create popular effects, like reflections, glows, and shadows.

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

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 24.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.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Matthew MacDonald

About this chapter

Cite this chapter

(2008). Brushes and Transforms. In: Silverlight 2 Visual Essentials. Apress. https://doi.org/10.1007/978-1-4302-1583-7_7

Download citation

Publish with us

Policies and ethics