Fabric.js Text borderScaleFactor Property
In this article, we are going to see how to change the borderScaleFactor of the text canvas using Fabric.js. The canvas means the text written is movable, rotatable, resizable, and can be stretched. Further, the text itself cannot be edited like a textbox.
fabric.Text(text, borderScaleFactor :Number );
Parameters: This property accepts a single parameter as mentioned above and described below:
- borderScaleFactor: It specifies the border scaling of the canvas Text. It contains a Number value.
Below is the example that illustrates the use of borderScaleFactor property in Fabric.js:
Please Login to comment...