Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eseperio/fabrictext2
A modified version of fabricjs Text Function to allow curved text.
https://github.com/eseperio/fabrictext2
Last synced: 2 months ago
JSON representation
A modified version of fabricjs Text Function to allow curved text.
- Host: GitHub
- URL: https://github.com/eseperio/fabrictext2
- Owner: Eseperio
- License: gpl-2.0
- Created: 2015-05-16T09:50:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T14:37:38.000Z (over 7 years ago)
- Last Synced: 2023-08-11T05:43:49.145Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 11
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Please, consider this is an old tweak to FabricJs library. It may be incompatible with current versions. This repo it´s not been mantained
# fabricText2
A modified version of fabricjs Text Function to allow curved text.## Use
Replace the function fabric.text with the located in this project.Add a fabric.text element to your canvas setting the following additional parameters:
* curvedText: **true**,
* radius: integer //radius in pixels for the circumference
* spacing: integer // Spacing between letters
* reverse: boolean // Outer text or inner text. Default: true## To do
* Add text background.
* Add clipping
* Resize bounding box to fit only text