Jay*_*aya 6 html javascript jquery html5 canvas
我在画布中使用clip().
我已经创建了一个clip()区域,如下所示
this.svgRenderer.ctx.rect(positionX, positionY, Width, Height);
this.svgRenderer.ctx.clip();
Run Code Online (Sandbox Code Playgroud)
几次在同一画布上绘图后,我试图使用save()和restore()删除该区域的剪辑.
但我犯了错误而无法做到.因此建议使用任何其他方法删除指定区域的剪辑而不使用save()和restore()
| 归档时间: |
|
| 查看次数: |
4326 次 |
| 最近记录: |