Sprites are fun, but sometimes simple, untextured lines and polygons
are desired. That’s where the (chickadee render shapes)
module
comes in!
Draw a line segment from start to end. The line will be
thickness pixels thick with an antialiased border feather
pixels wide. The line will be colored color. cap
specifies the type of end cap that should be used to terminate the
lines, either none
, butt
, square
, round
,
triangle-in
, or triangle-out
. Advanced users may use
the shader argument to override the built-in line segment
shader.