Construct a line segment from start and end points.
Readonly colorline segment color
Readonly endthe other end of the line segment
Readonly startone end of the line segment
true iff this and that represent the same line segment
line segment to compare this with
Static fromConstruct a line segment from coordinate pairs.
line segment from (startx,starty) to (endx,endy) colored color
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.