<Window x:Class="_12_形状画刷和变换_7点划线.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Icon="public/003540AH4M72.jpg" Title="12-形状画刷和变换-7点划线" Height="450" Width="800">
    <Canvas>
        <StackPanel Canvas.Top="0">
            <Label>StrokeDashArray="1 2"</Label>
            <Polyline Stroke="Blue" StrokeThickness="14" StrokeDashArray="1 2"
                      Points="10,30 60,0 90,40 120,10 350,10" />
        </StackPanel>

        <StackPanel Canvas.Top="60">
            <Label>StrokeDashArray="2 1"</Label>
            <Polyline Stroke="Aqua" StrokeThickness="14" StrokeDashArray="2 1"
                      Points="10,30 60,0 90,40 120,10 350,10" />
        </StackPanel>

        <StackPanel Canvas.Top="120">
            <Label>StrokeDashArray="5 0.2 30.2"</Label>
            <Polyline Stroke="Chartreuse" StrokeThickness="14" StrokeDashArray="5 0.2 30.2"
                      Points="10,30 60,0 90,40 120,10 350,10" />
        </StackPanel>

        <StackPanel Canvas.Top="180">
            <Label>StrokeDashArray="2 0.5 2"</Label>
            <Polyline Stroke="PaleVioletRed" StrokeThickness="14" StrokeDashArray="2 0.5 2"
                      Points="10,30 60,0 90,40 120,10 350,10" />
        </StackPanel>

    </Canvas>
</Window>