Scenic.Primitives.rrect_spec

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

rrect_spec(dims, opts \\ [])

View Source

Specs

rrect_spec(dims :: width_height_and_radius(), options :: list()) ::
  Scenic.Graph.deferred()

Create the specification that adds a rounded rectangle to a graph.

See the documentation for rounded_rectangle/3 for details.

Example:

rect = rrect_spec(
  {{10,20}, {100,20}},
  fill: :red, stroke: {3, :blue}, join: :round
)

graph = rect.(graph)