setLineDash () Canvas 2D API is the method to set the dotted line style. The method of use is simple: ctx.setLineDash(segments);. It accepts a parameter segments ...
確定! 回上一頁