javascript - Change corners fill in fabric.js -
How can I change the fill color corners in fabric.js, but I have to put different colors in the corners of the boundary. I want to like something like this:
Actually, what do you need to do ...
// one with a fill Draw a rectangle and a different color stroke var rect = new clothes. Reference ({left: 50, top: 50, width: 50, height: 50, fill: 'RGBA (255,127,39,1)', stroke: 'RGBA (34,177, 76,1)', stroke width: 5}) ; Canvas.add (rect); Canvas.renderAll (); This is a
Comments
Post a Comment