#myCanvas
scale
1,0.5|1,1|1,1.5|1,2|1,2.5
ctx.scale(#val); ctx.strokeRect(5,5,100,50);
your browser does not support the canvas tag
Canvas
❮
Previous
Next
❯
观看不同值的演示
.
或者点击指定值查看结果
在编辑器中更多地使用代码:
亲自尝试一下 ❯