Creates an ellipse shape using two ArcSegment objects
<Window x:Class="Main"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Combined Geometry" Height="340" Width="300">
<Border Margin="5" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left">
<Canvas Width="300" Height="340" Margin="5">
<Path Stroke="Blue">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="100,50">
<ArcSegment Point="200,50" Size="50,30"
SweepDirection="Counterclockwise" />
</PathFigure>
<PathFigure StartPoint="100,50">
<ArcSegment Point="200,50" Size="50,30"
SweepDirection="Clockwise" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
</Border>
</Window>
Related examples in the same category