#myCanvas
strokeText
'Hello World',20,50|'Hello World',50,50|'Hello World',100,50|'Hello World',70,50|'Hello World',10,50|'Hello World',0,50|'Hello World',-20,50
ctx.font='30px Arial'; ctx.strokeText(#val);
your browser does not support the canvas tag
Canvas
❮
Previous
Next
❯
观看不同值的演示
.
或者点击指定值查看结果
在编辑器中更多地使用代码:
亲自尝试一下 ❯