Scenic.Primitives.rounded_rectangle_spec
You're seeing just the function
rounded_rectangle_spec
, go back to Scenic.Primitives module for more information.
Specs
rounded_rectangle_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 = rounded_rectangle_spec(
{{10,20}, {100,20}},
fill: :red, stroke: {3, :blue}, join: :round
)
graph = rect.(graph)