Construct a line segment from start and end points.
Readonlycolorline segment color
Readonlyendthe other end of the line segment
Readonlystartone end of the line segment
line segment to compare this with
true iff this and that represent the same line segment
StaticfromConstruct 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
line segment from (startx,starty) to (endx,endy) colored color
An immutable line segment in floating-point pixel space.