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