Scenic.Primitives.triangle_spec

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

triangle_spec(corners, opts \\ [])

View Source

Specs

triangle_spec(corners :: Scenic.Math.triangle(), options :: list()) ::
  Scenic.Graph.deferred()

Create the specification that adds a triangle to a graph.

See the documentation for triangle/3 for details.

Example:

triangle = triangle_spec({{10,20}, {100,20}, {50, 120}}, fill: :red )
graph    = triangle.(graph)