I got it to work using ctx.setLineDash([]); if(dashed == true) { ctx.setLineDash([5, 2]); }.
確定! 回上一頁