Stroke 관련 속성2
.NET프로그래밍/Silverlight 3.0 2009. 11. 27. 09:03 |
[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>
-------------------------------------------------------------------------------------
[실행결과]
'.NET프로그래밍 > Silverlight 3.0' 카테고리의 다른 글
<LinearGradientBrush /> - 두 점 사이에 선분을 만들어 그라데이션 효과 부여 (0) | 2009.11.27 |
---|---|
Brush(브러시 - Shape 내부 채우기) - <SolidColorBrush /> : 단색을 채워주는 역할을 한다. (0) | 2009.11.27 |
Geometry의 줄임 표현 (경로 태그 구문/경로 미니 언어) (0) | 2009.11.26 |
<GeometryGroup> (0) | 2009.11.26 |
<BezierSegment> (0) | 2009.11.26 |