Fabric.js Text minScaleLimit Property
In this article, we are going to see how to change the minScaleLimit 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. This property is used to specify the minimum scale limit of the Text object.
fabric.Text(text, minScaleLimit: Number );
Parameters: This property accepts a single parameter as mentioned above and described below:
- minScaleLimit: It specifies the minimum scale limit. It contains a numerical value.
Below is the example that illustrates the use of minScaleLimit property in Fabric.js: