答案 0 :(得分:2)
我找到了解决方案: 只需将设置添加到画布:
canvas.selection = false;
答案 1 :(得分:1)
您可以将画布的selectionColor属性设置为透明色。例如......
var canvas = new fabric.Canvas("canvas");
canvas.selectionColor = "rgba(0,0,0,0)";
...或
var canvas = new fabric.Canvas("canvas");
canvas.selectionColor = "transparent";