1
0
Fork 0
freesewing/sites/dev/docs/reference/api/attributes
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
..
add chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
aspropsifprefixis chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
asrenderprops chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
clone chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
get chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
getasarray chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
remove chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
render chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
renderascss chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
renderifprefixis chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
set chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
setifunset chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: Attributes
---

An Attributes object holds attributes for a variety of other objects.

## Signature

```js
Attributes new Attributes()
```

The Attributes constructor takes no arguments.

## Properties

An Attributes object comes with the following property:

- `list` : Holds the internal object in which attributes are stored

## Methods
An Attributes object exposes the following methods:

<ReadMore />

## Notes

Attributes are attached to [`Point`](/reference/api/point),
[`Path`](/reference/api/path), and [`Snippet`](/reference/api/snippet) objects,
as well as the internal [`Svg`](/reference/api/svg) object.

All of these have an instantiated Attributes object in their `attributes`
property, as well as a number of (chainable) helper methods to manipulate the
attributes. You will typically use these higher-level method and thus are
unlikely to interact with an Attributes object directly.