const context = canvas.getContext('2d'); // butt default context.beginPath(); context.strokeStyle = 'red'; context.lineCap = 'butt'; context.lineWidth = 30;
確定! 回上一頁