1
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2
<Polyline Points="110,110 210,110 210,210 110,210" Stroke="#f00" RenderTransformOrigin="0,1"/>
3
<Polyline Points="110,110 210,110 210,210 110,210" Stroke="#00f" >
4
<Polyline.RenderTransform>
5
<RotateTransform Angle="45"/>
6
</Polyline.RenderTransform>
9
<Polyline Points="210,110 310,110 310,210 210,210" Stroke="#f00" />
10
<Polyline Points="210,110 310,110 310,210 210,210" Stroke="#00f">
11
<Polyline.RenderTransform>
12
<RotateTransform Angle="45" CenterX="220" CenterY="20"/>
13
</Polyline.RenderTransform>
16
<Polyline Points="110,210 210,210 210,310 110,310" Stroke="#f00" />
17
<Polyline Points="110,210 210,210 210,310 110,310" Stroke="#00f" RenderTransformOrigin="1,1">
18
<Polyline.RenderTransform>
19
<RotateTransform Angle="-45"/>
20
</Polyline.RenderTransform>
23
<Polyline Points="210,210 310,210 310,310 210,310" Stroke="#f00" />
24
<Polyline Points="210,210 310,210 310,310 210,310" Stroke="#00f" RenderTransformOrigin="1,1">
25
<Polyline.RenderTransform>
26
<RotateTransform Angle="-45" CenterX="150" CenterY="20"/>
27
</Polyline.RenderTransform>