Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

ArcSegment inside a PathFigure

<Window x: Class="WpfApplication1.Window1"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="WPF" Height="200" Width="250">     <Canvas Margin="10">         <Path Canvas.Left="70" Stroke="Black" StrokeThickness="3">             <Path.Data>                 <GeometryGroup>                     <PathGeometry>                         <PathFigure IsClosed="True" StartPoint="40,0">                             <LineSegment Point="170,100" />                             <ArcSegment Point="710,110" IsLargeArc="True" Size="10,10" SweepDirection="Clockwise"/>                         </PathFigure>                     </PathGeometry>                 </GeometryGroup>             </Path.Data>         </Path>     </Canvas> </Window>