FillRule=EvenOdd

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Microsoft.Samples.Graphics.RectangleExample"
WindowTitle="Example">
<Canvas>
<Polygon
Points="10,100 50,0 90,100 0,35 100,35"
Fill="Gold"
Stroke="Black"
StrokeThickness="3"
FillRule="EvenOdd"
Canvas.Left="150"
Canvas.Top="20">
</Polygon>
</Canvas>
</Page>
Related examples in the same category