{"ScriptPreparationCode":"var master = document.getElementById(\u0027master\u0027);\r\nvar masterctx = master.getContext(\u00272d\u0027);\r\n\r\nvar cached = document.getElementById(\u0027cached\u0027);\r\nvar cachedctx = master.getContext(\u00272d\u0027);\r\n\r\ncachedctx.strokeRect(0, 0, 100, 100)\r\n","TestCases":[{"Name":"Cached","Code":"masterctx.drawImage(cached,0,0);","IsDeferred":false},{"Name":"draw rect rounded","Code":"cachedctx.strokeRect(0, 0, 100, 100)","IsDeferred":false},{"Name":"draw rect not rounded","Code":"masterctx.strokeRect(0.5,0.5, 99.5, 99.5);","IsDeferred":false},{"Name":"rect clipped","Code":"masterctx.save();\r\n\r\n const region = new Path2D();\r\n region.rect(0, 0, 100, 100);\r\n masterctx.clip(region, \u0027evenodd\u0027);\r\n masterctx.lineWidth = 2;\r\n masterctx.strokeRect(0, 0, 100, 100);\r\n\r\n masterctx.restore();","IsDeferred":false}]}