Skip to content

A modified version of fabricjs Text Function to allow curved text.

License

Notifications You must be signed in to change notification settings

Eseperio/fabricText2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A modified version of fabricjs Text Function to allow curved text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published