29.4. Applying Graphical Transformations

To wrap up our discussion of using shapes, let's address the topic of transformations. WPF ships with numerous classes that extend the System.Windows.Media.Transform abstract base class. Table 29-5 documents many of the key out-of-the-box Transform derived classes.

Table 29.5. Key Descendents of the System.Windows.Media.Transform Type
TypeMeaning in Life
MatrixTransformCreates an arbitrary matrix transformation that is used to manipulate objects or coordinate systems in a 2D plane
RotateTransformRotates an object clockwise about a specified point in a 2D (x, y) coordinate system
ScaleTransformScales an object in the 2D (x, y) coordinate system
SkewTransformSkews an object in the 2D (x, y) coordinate system ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.