Fabric.js Text cornerStrokeColor Property
In this article, we are going to see how to change the cornerStrokeColor 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, cornerStrokeColor: String );
Parameters: This property accepts a single parameter as mentioned above and described below:
- cornerStrokeColor: It specifies the color of controlling corners of the object. It contains a string value.
Below is the example that illustrates the use of cornerStrokeColor property in Fabric.js: