line()
Draws a line between two points. The statement is a solver entity whose
literals are guesses — .start(), .end() and .mid() reference its
points in constraints.
Returns: SolvedLine
tip
See the guide for detailed usage examples.
Signatures
line(start: Point2DLike, end: Point2DLike): SolvedLine
Draws a line between two points. The statement is a solver entity whose
literals are guesses — .start(), .end() and .mid() reference its
points in constraints.
| Parameter | Type | Description |
|---|---|---|
start | Point2DLike | The start point |
end | Point2DLike | The end point |