Construct a line segment from start and end points.
one end of the line segment
the other end of the line segment
line segment color
Compute the length of this segment.
the length of the line segment
Construct a line segment from coordinate pairs.
x-coordinate of start point
y-coordinate of start point
x-coordinate of end point
y-coordinate of end point
line segment color
Generated using TypeDoc
An immutable line segment in pixel space.