Scenic.Primitives.quad_spec
You're seeing just the function
quad_spec
, go back to Scenic.Primitives module for more information.
Specs
quad_spec(corners :: Scenic.Math.quad(), options :: list()) :: Scenic.Graph.deferred()
Create the specification that adds a quad to a graph.
See the documentation for quad/3
for details.
Example:
quad = quad_spec(
{{10,20}, {100,20}, {90, 120}, {15, 70}},
fill: :red, stroke: {3, :blue}, join: :round
)
graph = quad.(graph)