Round Line Cap : Stroke « Windows Presentation Foundation « VB.Net






Round Line Cap

Round Line Cap
     

<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 Stroke="Blue" StrokeThickness="15" Grid.Row="2" StrokeEndLineCap="Round" SnapsToDevicePixels="True"
      Points="10,10 30,0 50,20 90,10 200,10" >
    </Polyline>
    <TextBlock Grid.Row="2" Grid.Column="1">Round Line Cap</TextBlock>


  </Canvas>
</Page>

   
    
    
    
    
  








Related examples in the same category

1.Dash Pattern "1 2"Dash Pattern
2.Dash Pattern "2 1"Dash Pattern
3.Dash Pattern "5 0.2 3 0.2"Dash Pattern
4.Uneven Dash Pattern "2 0.5 2"Uneven Dash Pattern
5.Dash Pattern with Rounded CapsDash Pattern with Rounded Caps
6.Bevel Line JoinBevel Line Join
7.Round Line JoinRound Line Join
8.Miter Line JoinMiter Line Join
9.Miter Line Join With Limit of 3Miter Line Join With Limit of 3
10.Flat Line CapFlat Line Cap
11.Square Line CapSquare Line Cap
12.Triangle Line CapTriangle Line Cap
13.StrokeLineJoin=BevelStrokeLineJoin=Bevel
14.StrokeLineJoin=RoundStrokeLineJoin=Round
15.StrokeStartLineCap=FlatStrokeStartLineCap=Flat
16.StrokeEndLineCap=SquareStrokeEndLineCap=Square
17.StrokeStartLineCap=SquareStrokeStartLineCap=Square
18.StrokeStartLineCap=RoundStrokeStartLineCap=Round
19.StrokeStartLineCap=TriangleStrokeStartLineCap=Triangle
20.Paints a rectangle with a checkered pattern 2
21.Solid color stroke LineSolid color stroke Line
22.Stroke with semi-transparent colorStroke with semi-transparent color