<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="300" Width="290">
<Canvas Margin="10">
<Path Stroke="Black" StrokeThickness="5" StrokeLineJoin="Round"
StrokeStartLineCap="Round" StrokeEndLineCap="Round">
<Path.Data>
<PathGeometry>
<PathFigure IsClosed="False" StartPoint="10,150">
<LineSegment Point="3,20" />
<ArcSegment Point="10,20"
IsLargeArc="False" Size="100,100" />
<ArcSegment Point="20,20"
IsLargeArc="False" Size="100,100"
SweepDirection="Clockwise"/>
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
</Window>
|