Dash Pattern "2 1" : Stroke « Windows Presentation Foundation « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Development
8.Event
9.File Directory
10.Generics
11.GUI
12.Language Basics
13.LINQ
14.Network Remote
15.Security
16.Thread
17.Windows Presentation Foundation
18.Windows System
19.XML
20.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Windows Presentation Foundation » StrokeScreenshots 
Dash Pattern "2 1"
Dash Pattern
     
<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="10" Grid.Row="1" 
               StrokeDashArray="2 1" SnapsToDevicePixels="True"
      Points="10,30 60,0 90,40 120,10 350,10" >
    </Polyline>
    <TextBlock Grid.Row="1" Grid.Column="1" VerticalAlignment="Center">Dash Pattern "2 1"</TextBlock>

  </Canvas>
</Page>

   
    
    
    
    
  
Related examples in the same category
1.Dash Pattern "1 2"Dash Pattern
2.Dash Pattern "5 0.2 3 0.2"Dash Pattern
3.Uneven Dash Pattern "2 0.5 2"Uneven Dash Pattern
4.Dash Pattern with Rounded CapsDash Pattern with Rounded Caps
5.Bevel Line JoinBevel Line Join
6.Round Line JoinRound Line Join
7.Miter Line JoinMiter Line Join
8.Miter Line Join With Limit of 3Miter Line Join With Limit of 3
9.Flat Line CapFlat Line Cap
10.Square Line CapSquare Line Cap
11.Round Line CapRound 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
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.