<TranslateTransform X="5" Y="5" /> <TranslateTransform .../> defines an axis-aligned transition in the x- and y-directions. It moves an element the specified number of 1/96" units in the x- and y-direction. Example 11-6 shows the original Rectangle and then the same Rectangle translated along the x- and y-axis. Figure 11-4 shows the result of evaluating the code in XamlPad. Figure 11-4. TranslateTransform applied to a RectangleAttributes
|