Fabric.js Text cornerDashArray Property
In this article, we are going to see how to change the cornerDashArray 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, cornerDashArray: Array );
Parameters: This property accepts one parameter as mentioned above and described below:
- cornerDashArray: It specifies the dash pattern of controlling corners of the object.
Below is the example that illustrates the use of cornerDashArray property in Fabric.j