ef44d71ee2
This PR adds a heart geo shape. ❤️
It also:
- adds `toSvgPathData` to geometry2d
- uses geometry2d in places where previously we recalculated things like
perimeter of ellipse
- flattens geo shape util components
- [x] Calculate the path length for the DashStyleHeart
### Change Type
- [x] `sdk` — Changes the tldraw SDK
- [x] `feature` — New feature
### Release Notes
- Adds a heart shape to the geo shape set.
|
||
---|---|---|
.. | ||
api-extractor.json | ||
CHANGELOG.md | ||
imports.d.ts | ||
imports.js | ||
imports.vite.d.ts | ||
imports.vite.js | ||
LICENSE.md | ||
modules.d.ts | ||
package.json | ||
README.md | ||
selfHosted.d.ts | ||
selfHosted.js | ||
tsconfig.json | ||
types.d.ts | ||
urls.d.ts | ||
urls.js | ||
utils.d.ts | ||
utils.js |
@tldraw/assets
This package contains assets that are used by tldraw, including icons and fonts.
Distributions
You can find tldraw on npm here.
Contribution
Please see our contributing guide. Found a bug? Please submit an issue.
License
The tldraw source code and its distributions are provided under the tldraw license. This license does not permit commercial use. To purchase a commercial license or learn more, please fill out this form.
Trademarks
Copyright (c) 2023-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.
Contact
Find us on Twitter/X at @tldraw.
Community
Have questions, comments or feedback? Join our discord or start a discussion. For the latest news and release notes, check out our Substack.