Should there be a lineSegment primitive?
Aperta
discussion
- Lingua principale
- Haskell
- Stelle
- 1.3k
- Fork
- 201
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It's often awkward and confusing to use `polyline` to get a single line. Perhaps there should exist primitives `lineSegment` and `thickLineSegment` that take exactly two coordinate pairs as arguments (or just four numbers?), and produce a line segment.
Note that the other polygonal-style shapes: `polygon`, `curve`, and `closedCurve` and their thick and solid variants, depend on having at least three points, so there would be no need to do the same there.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.