StrokeStartLineCap=Flat : Stroke « Windows Presentation Foundation « VB.Net Tutorial

Home
VB.Net Tutorial
1.Language Basics
2.Data Type
3.Operator
4.Statements
5.Date Time
6.Class Module
7.Development
8.Collections
9.Generics
10.Attributes
11.Event
12.LINQ
13.Stream File
14.GUI
15.GUI Applications
16.Windows Presentation Foundation
17.2D Graphics
18.I18N Internationlization
19.Reflection
20.Regular Expressions
21.Security
22.Socket Network
23.Thread
24.Windows
25.XML
26.Database ADO.net
27.Design Patterns
VB.Net Tutorial » Windows Presentation Foundation » Stroke 




<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="50,50 75,30 100,100 130,40"
    Stroke="Red"
    StrokeThickness="20"
    StrokeStartLineCap="Flat"
    StrokeEndLineCap="Flat"
    Grid.Row="1" Grid.Column="4"/>

  </Canvas>
</Page>
WPF Stroke Start Line Cap Flat














16.82.Stroke
16.82.1.Dash Pattern '1 2'Dash Pattern '1 2'
16.82.2.Dash Pattern '2 1'Dash Pattern '2 1'
16.82.3.Dash Pattern '5 0.2 3 0.2'Dash Pattern '5 0.2 3 0.2'
16.82.4.Uneven Dash Pattern '2 0.5 2'Uneven Dash Pattern '2 0.5 2'
16.82.5.Dash Pattern with Rounded CapsDash Pattern with Rounded Caps
16.82.6.Bevel Line JoinBevel Line Join
16.82.7.Round Line JoinRound Line Join
16.82.8.Miter Line JoinMiter Line Join
16.82.9.Miter Line Join With Limit of 3Miter Line Join With Limit of 3
16.82.10.Flat Line CapFlat Line Cap
16.82.11.Square Line CapSquare Line Cap
16.82.12.Round Line CapRound Line Cap
16.82.13.Triangle Line CapTriangle Line Cap
16.82.14.StrokeLineJoin=BevelStrokeLineJoin=Bevel
16.82.15.StrokeLineJoin=RoundStrokeLineJoin=Round
16.82.16.StrokeStartLineCap=FlatStrokeStartLineCap=Flat
16.82.17.StrokeEndLineCap=SquareStrokeEndLineCap=Square
16.82.18.StrokeStartLineCap=SquareStrokeStartLineCap=Square
16.82.19.StrokeStartLineCap=RoundStrokeStartLineCap=Round
16.82.20.StrokeStartLineCap=TriangleStrokeStartLineCap=Triangle
16.82.21.Paints a rectangle with a checkered pattern 2Paints a rectangle with a checkered pattern 2
16.82.22.Solid color stroke LineSolid color stroke Line
16.82.23.Stroke with semi-transparent colorStroke with semi-transparent color
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.