Mega Code Archive

 
Categories / Silverlight / Shapes
 

Figure With Arcs

<UserControl x:Class='SilverlightApplication3.MainPage'     xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'      xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'     xmlns:d='http://schemas.microsoft.com/expression/blend/2008'      xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006'      mc:Ignorable='d'      d:DesignWidth='640'      d:DesignHeight='480'>     <Path Fill="Aqua" Stroke="Maroon" StrokeThickness="3">         <Path.Data>             <PathGeometry>                 <PathFigure StartPoint="192 92">                     <ArcSegment Point="192 88" Size="408 48" />                     <LineSegment Point="180 88" />                     <ArcSegment Point="140 192" Size="408 48" />                     <LineSegment Point="400 192" />                     <ArcSegment Point="188 92" Size="48 480" />                     <LineSegment Point="192 192" />                 </PathFigure>                 <PathFigure StartPoint="336 200" IsClosed="True">                     <ArcSegment Point="316 176" Size="120 120" />                     <ArcSegment Point="336 200" Size="122 120" />                 </PathFigure>             </PathGeometry>         </Path.Data>     </Path> </UserControl>