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.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
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
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.