Use a PathFigure object to create composite shapes using LineSegment objects and other segments.
The LineSegment class does not contain a property for the starting point of the line. The starting point of the line is the end point of the previous segment, or the StartPoint of the PathFigure if no other segments exist.
The simple shape of a line can also be generated using Line. LineSegment is particularly intended for drawing a line within what is typically a more complex geometry group.