programming-examples/c-sharp/Others/Multiple Line Segments.cs
2019-11-15 12:59:38 +01:00

20 lines
643 B
C#

Multiple Line Segments
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Path Fill="Aqua" Stroke="Cyan" StrokeThickness="4">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="120 60">
<LineSegment Point="240 250" />
<LineSegment Point="50 160" />
<LineSegment Point="240 120" />
<LineSegment Point="70 240" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>