Fabric.js Text lockSkewingX Property
In this article, we are going to see how to change the lockSkewingX 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, lockSkewingX: Boolean );
Parameters: This property accepts a single parameter as mentioned above and described below:
- lockSkewingX: It is a boolean value that specifies whether to lock horizontally skewing of a Text canvas or not.
Below is the example that illustrates the use of lockSkewingX property in Fabric.js: