■ Polyline 엘리먼트를 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 |
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Polyline Canvas.Left="20" Canvas.Top="20" Stroke="Blue" StrokeThickness="10" Points="0 10, 10 0, 20 10, 30 0, 40 10, 50 0, 60 10, 70 0, 80 10, 90 0, 100 10" /> </Canvas> |