setLineDash () 是Canvas 2D API 設定虛線樣式的方法。 使用方式很簡單︰ ctx.setLineDash(segments);. 其接受一個參數 segments ,這個參數是一個 ...
確定! 回上一頁