<Window x:Class="_12_形状画刷和变换_6直线线帽和直线交点.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-形状画刷和变换-6直线线帽和直线交点" Height="450" Width="800">
    <ScrollViewer Margin="10">
        <Canvas Height="1600" Width="800">
            <StackPanel Canvas.Left="10" Canvas.Top="0">
                <Label>StrokeStartLineCap="Flat" StrokeEndLineCap="Flat"</Label>
                <Polyline Stroke="Red" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Flat" StrokeEndLineCap="Flat" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="140">
                <Label> StrokeStartLineCap="Round" StrokeEndLineCap="Round"</Label>
                <Polyline Stroke="Green" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Round" StrokeEndLineCap="Round" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="280">
                <Label>StrokeStartLineCap="Square" StrokeEndLineCap="Square" </Label>
                <Polyline Stroke="Blue" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Square"
                          StrokeEndLineCap="Square" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="420">
                <Label>StrokeStartLineCap="Triangle" StrokeEndLineCap="Triangle" </Label>
                <Polyline Stroke="Coral" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Triangle"
                          StrokeEndLineCap="Triangle" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="560">
                <Label>StrokeStartLineCap="Triangle" StrokeEndLineCap="Triangle" StrokeLineJoin="Bevel"</Label>
                <Polyline Stroke="Chartreuse" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Triangle"
                          StrokeEndLineCap="Triangle" StrokeLineJoin="Bevel" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="700">
                <Label>StrokeStartLineCap="Triangle" StrokeEndLineCap="Triangle" StrokeLineJoin="Miter"</Label>
                <Polyline Stroke="Brown" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Triangle"
                          StrokeEndLineCap="Triangle" StrokeLineJoin="Miter" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="840">
                <Label>StrokeStartLineCap="Triangle" StrokeEndLineCap="Triangle" StrokeLineJoin="Round"</Label>
                <Polyline Stroke="Fuchsia" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Triangle"
                          StrokeEndLineCap="Triangle" StrokeLineJoin="Round" />
            </StackPanel>

            <StackPanel Canvas.Left="10" Canvas.Top="980">
                <Label>StrokeStartLineCap="Triangle" StrokeEndLineCap="Triangle" StrokeLineJoin="Round" StrokeMiterLimit="1"</Label>
                <Polyline Stroke="Gold" StrokeThickness="5"
                          Points="0,0 10,110 20,50 30,110 200,110" StrokeStartLineCap="Triangle"
                          StrokeEndLineCap="Triangle" StrokeLineJoin="Round" StrokeMiterLimit="1" />
            </StackPanel>
        </Canvas>
    </ScrollViewer>
</Window>