Mega Code Archive

 
Categories / ASP.Net / WPF
 

Polyline

<Canvas     xmlns="http://schemas.microsoft.com/client/2007"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   Width="300" Height="300">   <Polyline Points="150, 150 150, 250 250, 250 250, 150"     Stroke="Gray" StrokeThickness="5"        Canvas.ZIndex="3" />   <Polygon Points="10,10 10,110 110,110 110,10"     Stroke="Blue" StrokeThickness="10" Fill="LightBlue" />   <Path Data="M 0,200 L100,200 50,50z"       Stroke="LightYellow" Fill="Yellow"       Canvas.Left="150" Canvas.Top="70" /> </Canvas>