Scenic.Script.draw_quad

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

draw_quad(ops, x0, y0, x1, y1, x2, y2, x3, y3, flag)

View Source

Specs

draw_quad(
  ops :: t(),
  x0 :: number(),
  y0 :: number(),
  x1 :: number(),
  y1 :: number(),
  x2 :: number(),
  y2 :: number(),
  x3 :: number(),
  y3 :: number(),
  fill_stroke_flags :: fill_stroke()
) :: ops :: t()

Draws a Quad defined by four points. Can be filled or stroked.

The draw_quad/10 function creates a new path in the shape of a Quad and draws it. Each x/y pair is a point in the quad.