Scenic.Script.draw_line

You're seeing just the function draw_line, go back to Scenic.Script module for more information.
Link to this function

draw_line(ops, x0, y0, x1, y1, atom)

View Source

Specs

draw_line(
  ops :: t(),
  x0 :: number(),
  y0 :: number(),
  x1 :: number(),
  y1 :: number(),
  :stroke
) :: ops :: t()

Draws a line from a start point to a finish point. Can only be stroked.

The draw_line/6 function creates a new path in the shape of a line. This shape cannot be filled, so the only fill/stroke command accepted is :stroke.