* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / test-path-segments-arc.xaml
blobfd5b692d11bd30f8e151ebac403819ca151332c1
1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2         <Path Stroke="Black" StrokeThickness="2">
3         <Path.Data>
4                 <PathGeometry>
5                 <PathGeometry.Figures>
6                         <PathFigureCollection>
7                                 <PathFigure StartPoint="10,30">
8                                 <PathFigure.Segments>
9                                         <PathSegmentCollection>
10                                                 <ArcSegment IsLargeArc="False" Point="50,30" RotationAngle="45" Size="10,10" SweepDirection="CounterClockwise" />
11                                         </PathSegmentCollection>
12                                 </PathFigure.Segments>
13                                 </PathFigure>
14                         </PathFigureCollection>
15                 </PathGeometry.Figures>
16                 </PathGeometry>
17         </Path.Data>
18         </Path>
20         <!-- abbreviated syntax : A (arc) -->
21         <Path Stroke="Red" StrokeThickness="1" Data="M 60,30 A 10,10 45 0 0 100,30" />
22         <Path Stroke="Green" StrokeThickness="1" Data="M 110,30 A 10,10 45 0 1 150,30" />
23         <Path Stroke="Blue" StrokeThickness="1" Data="M 160,30 A 10,10 45 1 1 200,30" />
24 </Canvas>