Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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