Mega Code Archive

 
Categories / C# / WPF
 

Non-zero fill rule with more complex shape with Polygon

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> <Polygon Fill="Orange" Stroke="Blue" StrokeThickness="2" FillRule="Nonzero"   Points="1,1 600,100 60,25 200,250 200,400 40,400 400,180 50,180 50,50 100,50" /> </Page>