The Defs object in FreeSewing’s core library represents an SVG document’s defs element. It is not directly exposed, but it is available as the defs attribute of an Svg object.

While the properties and methods exposed by this object are typically only used internally, they are documented here to facilitate development of plugins.


A Defs object comes with the following property:

  • list : Holds the internal object in which entries of the defs element are stored

Defs methods