drawing::line
Structs
Line
A 2D vector line segment.
x1/y1 and x2/y2 describe the segment endpoints in the primitive's
local coordinate space. The segment is rendered with stroke, whose cap
style controls how the two exposed endpoints terminate.
Properties
x1
The x-coordinate of the start point.
y1
The y-coordinate of the start point.
x2
The x-coordinate of the end point.
y2
The y-coordinate of the end point.
stroke
The stroke used to render the segment.
material
Light-reactive surface response.