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

ashishbhattb/fabricText2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

Languages

  • JavaScript 100.0%