Fabric.js Text borderOpacityWhenMoving Property
In this article, we are going to see how to change the borderOpacityWhenMoving 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, borderOpacityWhenMoving: Number );
Parameters: This property accepts a single parameter as mentioned above and described below:
- borderOpacityWhenMoving: It specifies the opacity of the border while moving, This parameter takes value ranging from 0 to 1.
Below is the example that illustrates the use of borderOpacityWhenMoving property in Fabric.js: