Line
A line segment on the 2D canvas, in world units.
Properties
- X1 / Y1 / X2 / Y2: the two ends in world units. Required.
- Stroke / Stroke width: the line itself.
- Dash: a dash pattern as numbers, like [4, 4]. Omit for solid.
- Layer: draw layer: bg under, main, or overlay on top.