1
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2
<Path Stroke="Black" StrokeThickness="2">
7
<PathFigure StartPoint="10,10">
9
<PathSegmentCollection>
10
<LineSegment Point="110,10" />
11
</PathSegmentCollection>
12
</PathFigure.Segments>
14
</PathFigureCollection>
15
</PathGeometry.Figures>
20
<!-- abbreviated syntax : L (line) H (horizontal) and V (vertical) -->
21
<Path Stroke="Red" StrokeThickness="1" Data="M 10,20 L 110,20" />
22
<Path Stroke="Green" StrokeThickness="1" Data="M 10,30 H 110" />
23
<Path Stroke="Blue" StrokeThickness="1" Data="M 20,10 V 40" />