Figure With Arcs : ArcSegment « Shapes « Silverlight






Figure With Arcs

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>

   
    
    
  








Related examples in the same category

1.Use ArcSegment as PathFigureUse ArcSegment as PathFigure
2.Large ArcSegmentsLarge ArcSegments
3.Small ArcSegmentSmall ArcSegment
4.Counterclockwise (default), small arc (default)Counterclockwise (default), small arc (default)
5.Counterclockwise (default), IsLargeArcCounterclockwise (default), IsLargeArc
6.Clockwise, small arc (default)Clockwise, small arc (default)
7.Clockwise, IsLargeArcClockwise, IsLargeArc
8.Elliptical ArcElliptical Arc
9.Elliptical Arc PathElliptical Arc Path