Mega Code Archive

 
Categories / C# / WPF
 

Polyline corner is cut off (beveled) because the miter limit is set to 1

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     x:Class="Microsoft.Samples.Graphics.RectangleExample"     WindowTitle="Example">   <Canvas>     <Polyline       Points="0,10 50,10 20,35"       Stroke="#9999CC"       StrokeThickness="20"       StrokeMiterLimit="2"       Canvas.Top="30"       Canvas.Left="250"/>   </Canvas> </Page>