Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 524 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 524 Bytes

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