<Window x:Class="WpfApplication1.ShapesWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ShapesWindow" Height="160" Width="400">
<Canvas>
<Path Stroke="Black" StrokeThickness="3" Fill="Yellow" Canvas.Left="21" Canvas.Top="188" >
<Path.Data>
<PathGeometry>
<PathGeometry.Figures>
<PathFigure StartPoint="0,0">
<PathFigure.Segments>
<LineSegment Point="20 30"/>
<ArcSegment Size="30,30" IsLargeArc="False" SweepDirection="CounterClockwise" Point="50,40" />
<ArcSegment Size="10,10" IsLargeArc="False" SweepDirection="Clockwise" Point="10,0" />
</PathFigure.Segments>
</PathFigure>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
</Window>
|