<ScaleTransform Center="0,0" ScaleX="2" ScaleY="2" /> or: <ScaleTransform ScaleX="2" ScaleY="2" > <ScaleTransform.Center> <Point X="0" Y="0" /> </ScaleTransform.Center> </ScaleTransform> <ScaleTransform .../> scales an element by the specified factor. The scaling can be applied in both the x- and y-directions. Example 11-4 applies a scaling transformation to a Rectangle, effectively doubling its size (Figure 11-2). Figure 11-2. Scaling a Rectangle using ScaleTransformAttributes
|