MainPage.xaml |
[그림 29-1] <Grid x:Name="LayoutRoot" Background="White"> <Path Stroke="Black" StrokeThickness="5" Fill="Red"> <Path.Data> <PathGeometry> <PathFigure StartPoint="20, 20" IsClosed="True"> <LineSegment Point="20, 90"></LineSegment> <LineSegment Point="90, 90"></LineSegment> </PathFigure> </PathGeometry> </Path.Data> </Path> <!--위 코드를 아래 코드로 줄여서 표현 : 미니언어(다른말로 경로 태그 구문) msdn에서 검색, 용어 설명 추가--> <Path Stroke="Black" StrokeThickness="5" Fill="Red" Data="M 120,120 L 120,200 L 200,200 Z"> </Path> </Grid> |
'Silverlight' 카테고리의 다른 글
31.SilverLight3 - Brush : RadialGradientBrush (0) | 2009.11.27 |
---|---|
30.SilverLight3 - Brush : LinearGradientBrush (0) | 2009.11.27 |
28.SilverLight3 - Geometry : GrometryGroup (0) | 2009.11.26 |
27.SilverLight3 - Geometry : BezierSegment (0) | 2009.11.26 |
26.SilverLight3 - Geometry : ArcSegment (0) | 2009.11.26 |
Comments