22 lines
595 B
Markdown
22 lines
595 B
Markdown
---
|
|
title: Defs
|
|
---
|
|
|
|
The `Defs` object in FreeSewing's core library represents an SVG document's
|
|
[`defs` element](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs).
|
|
It is not directly exposed, but it is available as the `defs` attribute
|
|
of an [Svg object](/reference/api/svg/defs).
|
|
|
|
While the properties and methods exposed by this object are typically only used internally,
|
|
they are documented here to facilitate development of plugins.
|
|
|
|
## Properties
|
|
|
|
A Defs object comes with the following property:
|
|
|
|
- `list` : The entries of the `defs` element.
|
|
|
|
## Defs methods
|
|
|
|
<ReadMore />
|
|
|