Polyline corner is cut off (beveled) because the miter limit is set to 1 : Polyline « Shapes « Silverlight






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

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

<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'>

  <Canvas>


    <Polyline
      Points="0,10 50,10 20,35"
      Stroke="#9999CC"
      StrokeThickness="20"
      StrokeMiterLimit="2"
      Canvas.Top="30"
      Canvas.Left="250"/>

  </Canvas>
</UserControl>

   
    
    
  








Related examples in the same category

1.Rotate polylineRotate polyline
2.Translate transform polylineTranslate transform polyline
3.Polyline by PointsPolyline by Points
4.Rotates the Polyline 45 degrees about the point (25,50)Rotates the Polyline 45 degrees about the point (25,50)
5.Rotates the Polyline 45 degrees about the point (0,0)Rotates the Polyline 45 degrees about the point (0,0)
6.Rotates the Polyline 45 degrees about its centerRotates the Polyline 45 degrees about its center
7.Rotates the Polyline 45 degrees about the relative origin (0.25,0.25).Rotates the Polyline 45 degrees about the relative origin (0.25,0.25).
8.Ployline types do not require connecting endsPloyline types do not require connecting ends
9.Polyline and Polyline.PointsPolyline and Polyline.Points
10.PolyLine Segment DemoPolyLine Segment Demo
11.XAML Button with Polyline and TextBlockXAML Button with Polyline and TextBlock
12.Polyline stroke color in RGBPolyline stroke color in RGB
13.Set StrokeDashArray, StrokeDashCap for PolylineSet StrokeDashArray, StrokeDashCap for Polyline
14.Bevel StrokeLineJoin PolylineBevel StrokeLineJoin Polyline
15.StrokeStartLineCap for PolylineStrokeStartLineCap for Polyline
16.Create a simple polyline, a closed polyline. And a Sine curve in code.Create a simple polyline, a closed polyline. And a Sine curve in code.
17.Populate the PointsCollection of the PolyLinePopulate the PointsCollection of the PolyLine
18.Polyline with Stroke color and Stroke thicknessPolyline with Stroke color and Stroke thickness
19.A PolylineA Polyline