MainPage.xaml |
[그림 28-1] <Grid x:Name="LayoutRoot" Background="White"> <Path Stroke="Black" StrokeThickness="10" Fill="Red"> <Path.Data> <GeometryGroup> <PathGeometry> <PathFigure StartPoint="20, 20" IsClosed="True"> <LineSegment Point="20, 100"></LineSegment> <LineSegment Point="100, 100"></LineSegment> </PathFigure> </PathGeometry> <PathGeometry> <PathGeometry.Transform> <RotateTransform Angle="-15"></RotateTransform> </PathGeometry.Transform> <PathFigure StartPoint="20, 20" IsClosed="True"> <LineSegment Point="20, 100"></LineSegment> <LineSegment Point="100, 100"></LineSegment> </PathFigure> </PathGeometry> </GeometryGroup> </Path.Data> </Path> </Grid> |
'Silverlight' 카테고리의 다른 글
30.SilverLight3 - Brush : LinearGradientBrush (0) | 2009.11.27 |
---|---|
29.SilverLight3 - Geometry : PathData ( 미니언어 ) (0) | 2009.11.26 |
27.SilverLight3 - Geometry : BezierSegment (0) | 2009.11.26 |
26.SilverLight3 - Geometry : ArcSegment (0) | 2009.11.26 |
25.SilverLight3 - Geometry : PathGeometry (0) | 2009.11.26 |
Comments