March 2010
Intermediate to advanced
1216 pages
33h 44m
English
Many drawing tasks can be made simpler with the use of a transform—an object that alters the way a shape or element is drawn by quietly shifting the coordinate system it uses. In WPF, transforms are represented by classes that derive from the abstract System.Windows.Media.Transform class, as listed in Table 12-5.
| Name | Description | Important Properties |
|---|---|---|
| TranslateTransform | Displaces your coordinate system by some amount. This transform is useful if you want to draw the same shape in different places. | X, Y |
| RotateTransform | Rotates your coordinate system. The shapes you draw normally are turned around a center point you choose. | Angle, CenterX, CenterY |
| ScaleTransform | Scales your coordinate system up or down, so that ... |
Read now
Unlock full access