Scenic.Primitives.text_spec
You're seeing just the function
text_spec
, go back to Scenic.Primitives module for more information.
Specs
text_spec(string :: String.t(), options :: list()) :: Scenic.Graph.deferred()
Create the specification that adds text to a graph.
See the documentation for text/3
for details.
Example:
text = text_spec( "a wombat is a marsupial", fill: :red )
graph = text.(graph)