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:

example

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

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -