Creates a line segment.
ais a two-dimensional real vector
bis a two-dimensional real vector
LineSegment(a, b) creates a line segment from
The object is shown in the current diagram and a reference to the object is returned.
AdjustVisual function can be used to adjust the appearance of the line, including the line end styles. See Visual settings for a list of applicable settings.