Fabric.js Text moveCursor Property
In this article, we are going to see how to change the moveCursor 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 set the cursor that will be used when the Text is moved.
fabric.Text(text, moveCursor: String );
Parameters: This property accepts a single parameter as mentioned above and described below:
- moveCursor: It specifies that the cursor value when moving the canvas object.
Below is the example that illustrates the use of moveCursor property in Fabric.js: