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
line segment to compare this
with
true iff this and that represent the same line segment
Static
fromConstruct 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
Generated using TypeDoc
An immutable line segment in floating-point pixel space.