ArcSegments with Counterclockwise SweepDirection : ArcSegments « Windows Presentation Foundation « VB.Net






ArcSegments with Counterclockwise SweepDirection

ArcSegments with Counterclockwise SweepDirection
       

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Stretch" VerticalAlignment="Stretch">


<Canvas>
  <Ellipse Fill="Cyan" Stroke="Black" Width="140" Height="60" />
  <Path Fill="Cyan" Stroke="Black" Canvas.Left="180">
    <Path.Data>
      <PathGeometry>
        <PathFigure StartPoint="0,11" IsClosed="True">
          <ArcSegment Point="50,61" Size="70,30"
                      SweepDirection="Counterclockwise" IsLargeArc="False" />
        </PathFigure>

      </PathGeometry>
    </Path.Data>
  </Path>
</Canvas>


</Page>

   
    
    
    
    
    
    
  








Related examples in the same category

1.ArcSegments with Clockwise SweepDirectionArcSegments with Clockwise SweepDirection