ctx.setLineDash([]) ctx.beginPath(); ctx.ellipse(100, 100, 50, 75, 45 * Math.PI/180, 0, 2 * Math.PI); ctx.stroke(); ctx.setLineDash([5,5]) ctx.moveTo(0, 200); ctx.lineTo(200,0); ctx.stroke();