■ BezierSegment 엘리먼트를 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<Path StrokeThickness="10" Stroke="Gold"> <Path.Data> <PathGeometry> <PathGeometry.Figures> <PathFigure StartPoint="0 0"> <PathFigure.Segments> <BezierSegment Point1="100 0" Point2="0 100" Point3="100 100" /> </PathFigure.Segments> </PathFigure> </PathGeometry.Figures> </PathGeometry> </Path.Data> </Path> |