setLineDash () 是Canvas 2D API 设置虚线样式的方法。 使用方式很简单: ctx.setLineDash(segments);. 其接受一个参数 segments ,这个参数是一个 ...
確定! 回上一頁