0.1.0 • Published 4 years ago

@mtrudw/fabric-publisher-tools v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Collection of Extensions for fabric.js

A set of modular extensions to give fabric.js some additional DTP like capabilities.

Demo

https://mtrudw.github.io/fabricPublisherTools/.

Undo and Redo

Implements and action based undo and redo with a small footprint. Can be used for to create a detailed action log. Undo and redo data is serialized and deserialized with the canvas.

Snapping

Create guides to snap to on both move and scale. Snaps to bounding box when rotated. Rotated objects don't snap reliably on scale yet.

Smart aligning Guides

Snap into alignment with other objects on move and scale. Shows aligned edges.

Image Container

Image container that allows independent scaling of container and image. Keeps image clipped to container

TODO

Still very early stages. So lots. Some features to do, lots of cleanup and documentation. Of course more testing and better test coverage. Also: add a todo-list.