Use PolyBezierSegment to Simulated Circle : PolyBezierSegment « Shapes « Silverlight






Use PolyBezierSegment to Simulated Circle

Use PolyBezierSegment to Simulated Circle
    

<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 Canvas.Left="150" Canvas.Top="150" Stroke="Black">
        <Path.Data>
            <PathGeometry>
                <PathGeometry.Figures>
                    <PathFigure StartPoint="0 100">
                        <PolyBezierSegment 
                            Points="  55  100,  100   55,  100    0
                                     100  -55,   55 -100,    0 -100
                                     -55 -100, -100  -55, -100    0
                                    -100   55,  -55  100,    0  100" />
                    </PathFigure>
                </PathGeometry.Figures>
            </PathGeometry>
        </Path.Data>
    </Path>

</UserControl>

   
    
    
    
  








Related examples in the same category

1.PolyBezierSegment Demo