How to Implement Curved Text in Latest Fabric.js Version (6.3.0) Without createClass? #10121
niketaOptimumnbrew
started this conversation in
General
Replies: 1 comment 4 replies
-
Niketa you have to extend the class. class CurvedText extends Text {
customFunction() {
...code...
}
} it can extends Text or Itext or Textbox depending on your example what you have just follow along. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been using the curved text feature by creating a custom class, but with the latest Fabric.js version, createClass is deprecated.
I was following the approach mentioned in this example: Curved Text Example.
Could someone please guide me on how to implement curved text with the latest version of Fabric.js without using createClass? Any assistance would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions