StrokeDashArray 4,2 / StrokeDashOffset: 0 : Stroke « Windows Presentation Foundation « C# / CSharp Tutorial






<Window x:Class="Workspace.DockExample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Workspace" Width="640" Height="480">
    <Rectangle Grid.Row="3" Grid.Column="0" Width="150" Height="150"
               StrokeDashArray="4 2" StrokeDashOffset="0"
               Stroke="Black" StrokeThickness="3" Fill="Blue">
    </Rectangle>


</Window>
WPF Stroke Dash Array42 Stroke Dash Offset0








24.83.Stroke
24.83.1.StrokeDashArray 4,2 / StrokeDashOffset: 0StrokeDashArray 4,2 / StrokeDashOffset: 0
24.83.2.StrokeDashArray>: 4,2 /StrokeDashOffset: 1StrokeDashArray>: 4,2 /StrokeDashOffset: 1
24.83.3.StrokeDashArray: 4,2 /StrokeDashOffset: 2StrokeDashArray: 4,2 /StrokeDashOffset: 2
24.83.4.StrokeDashArray: 4,1,4,3 /StrokeDashOffset: 1StrokeDashArray: 4,1,4,3 /StrokeDashOffset: 1
24.83.5.StrokeDashArray: 1,4,1,2 / StrokeDashOffset: 1StrokeDashArray: 1,4,1,2 / StrokeDashOffset: 1
24.83.6.StrokeDashArray: 1 / StrokeDashOffset: 1StrokeDashArray: 1 / StrokeDashOffset: 1
24.83.7.PenLineJoin.BevelPenLineJoin.Bevel
24.83.8.PenLineJoin.RoundPenLineJoin.Round
24.83.9.PenLineJoin.MiterPenLineJoin.Miter
24.83.10.PenLineCap.FlatPenLineCap.Flat
24.83.11.PenLineCap.SquarePenLineCap.Square
24.83.12.PenLineCap.RoundPenLineCap.Round
24.83.13.PenLineCap.TrianglePenLineCap.Triangle
24.83.14.StrokeStartLineCap=Round, StrokeEndLineCap=RoundStrokeStartLineCap=Round, StrokeEndLineCap=Round
24.83.15.Dotted PathDotted Path