ctx.beginPath(); ctx.moveTo(50,50); ctx.lineTo(200, 50); ctx.stroke()