Stroke 관련 속성2
[MainPage.xaml]
<UserControl x:Class="RiaStroke.MainPage"
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"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" Background="White">
<Line X1="50" Y1="50" X2="200" Y2="200"
Stroke="Red" StrokeThickness="10"
StrokeStartLineCap="Round"
StrokeEndLineCap="Triangle"
StrokeDashArray="5, 1"
></Line>
<Polyline Points="120, 120 200,120 300,250"
Stroke="Blue" StrokeThickness="40"
StrokeStartLineCap="Triangle"
StrokeLineJoin="Miter"
StrokeMiterLimit="1"
></Polyline>
</Grid>
</UserControl>
-------------------------------------------------------------------------------------
[실행결과]