closePath 用于关闭一个路径。关闭路径会连接起点和终点。如果关闭路径后没有调用 fill() 或者 ... closePath() ctx.stroke() ctx.draw(). 显示效果如下图所示:.
確定! 回上一頁