Metadata associated with a body, including its unique ID, colors for stroke and fill,
line weight, z-index for rendering order, and whether to smooth edges when rendering.
This is made to be easily serialized for canvas like renderers
Instantiates multiple body templates, applying the given transformation to each instance.
This also generates a new MetaMap for the instances, copying and transforming the metadata from the templates.
Creates a new instance of a body template, applying the given transformation to the instance.
This also generates a new MetaMap for the instance, copying and transforming the metadata from the template.
loads an SVG string into a vector of body templates and a corresponding MetaMap.
The body templates are normalized to fit within a unit square, and the MetaMap
contains metadata for each body, indexed by their IDs.