Mega Code Archive

 
Categories / C# / WPF
 

Figure With Arcs

<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">     <Path Fill="Aqua" Stroke="Maroon" StrokeThickness="3">         <Path.Data>             <PathGeometry>                 <PathFigure StartPoint="92 92">                     <ArcSegment Point="92 88" Size="48 48" />                     <LineSegment Point="80 88" />                     <ArcSegment Point="40 192" Size="488 48" />                     <LineSegment Point="400 192" />                     <ArcSegment Point="88 92" Size="48 48" />                     <LineSegment Point="192 192" />                 </PathFigure>                 <PathFigure StartPoint="336 200" IsClosed="True">                     <ArcSegment Point="36 176" Size="12 12" />                     <ArcSegment Point="336 200" Size="122 12" />                 </PathFigure>             </PathGeometry>         </Path.Data>     </Path> </Canvas>