Silverlight/XAML – Learning by Coding

[ transform_rotate.xaml --> Grafik anzeigen ]

 1: <?xml version="1.0" encoding="UTF-8"?>
 2: <!-- coded by Thomas Meinike 01/08 -->
 3: <Canvas xmlns="http://schemas.microsoft.com/client/2007"
 4:         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 5: 
 6:   <Ellipse Canvas.Left="20" Canvas.Top="20" Width="100" Height="200" Stroke="#00C" Fill="#FF0">
 7:     <Ellipse.RenderTransform>
 8:       <RotateTransform Angle="45" CenterX="70" CenterY="120"/>
 9:     </Ellipse.RenderTransform>  
10:   </Ellipse>
11: 
12: </Canvas>

[zum Anfang]