Chapter 20. Transforms and Effects

What You’ll Learn in This Hour:

  • Render versus Layout transforms

  • Built-in transforms

  • Brush transforms

  • Bitmap effects

With WPF’s rich support for shapes, geometry, colors, and brushes, it would seem that you can create almost anything. However, some visuals would be difficult or impossible to achieve without the use of geometric transforms or special bitmap effects. It’s these two technology pieces that we’ll use to complete our graphics arsenal.

Understanding Transforms

In WPF, a group of classes exist that inherit from Transform. These classes include TranslateTransform, SkewTransform, RotateTransform, ScaleTransform, MatrixTransform, and TransformGroup. We’ll cover all of these except MatrixTransform, because it is ...

Get Sams Teach Yourself WPF in 24 Hours 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.