Flat Line Cap : 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
VB.Net by API
VB.Net Tutorial » Windows Presentation Foundation » Stroke 
16.82.10.Flat 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" StrokeEndLineCap="Flat" SnapsToDevicePixels="True"
      Points="10,10 30,0 50,20 90,10 200,10" >
    </Polyline>
    <TextBlock Grid.Column="1">Flat Line Cap</TextBlock>
  </Canvas>
</Page>
WPF Flat Line Cap
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
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.