Scenic.Primitive.build
You're seeing just the function
build
, go back to Scenic.Primitive module for more information.
Specs
Generic builder to create a new primitive.
This function is used internally. You should almost always use the helpers in Scenic.Primitives instead.
Parameters:
module
- The module of the primitive you are buildingdata
- the primitive-specific data being set into the primitiveopts
- a list of style and transform options to apply to the primitive
Returns the built primitive.