FabricJS ClipTo Issue for multiple objects like group
问题 My code is canvas.clipTo = function (ctx) { ctx.beginPath(); for (var i = 0; i < totalPrintArea; i++) { ctx.save(); ctx.fillStyle = 'rgba(51,51,51,0)'; ctx.rect(clipLft[i], clipTp[i], clipW[i], clipH[i], 'rgba(51,51,51,1)', clipRtn[i]); ctx.stroke(); ctx.restore(); } ctx.closePath(); ctx.clip(); canvas.calcOffset(); }; canvas.renderAll(); I am taking values from the red dotted box and apply to clip where multiple masks are generating. My issue is its taking all properties but not rotation for