PolyBezierSegment Demo : PolyBezierSegment « Shapes « Silverlight






PolyBezierSegment Demo

    
<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 Stroke="Black">
          <Path.Data>
            <PathGeometry>
        
                <PathFigure StartPoint="0,0">
                  <PolyBezierSegment>
                    <PolyBezierSegment.Points>
                      <Point X="10" Y="10"/>
                      <Point X="20" Y="120"/>
                      <Point X="40" Y="130"/>
                      <Point X="160" Y="1210"/>
                      <Point X="120" Y="315"/>
                      <Point X="100" Y="540"/>
                    </PolyBezierSegment.Points>
                  </PolyBezierSegment>
                </PathFigure>
        
            </PathGeometry>
          </Path.Data>
        </Path>

</UserControl>

   
    
    
    
  








Related examples in the same category

1.Use PolyBezierSegment to Simulated CircleUse PolyBezierSegment to Simulated Circle