line1.font = "36px Arial";
line1.strokeText("Ay",0,40);

line1.font = "36px Arial";
line1.textBaseline = "bottom";
line1.strokeText("Ay",50,40);

line1.font = "36px Arial";
line1.textBaseline = "alphabetic";
line1.strokeText("Ay",100,40);

line1.font = "36px Arial";
line1.textBaseline = "middle";
line1.strokeText("Ay",150,40);

line1.font = "36px Arial";
line1.textBaseline = "hanging";
line1.strokeText("Ay",200,40);

line1.font = "36px Arial";
line1.textBaseline = "top";
line1.strokeText("Ay",250,40);

line1.strokeStyle = 'rgba(0,255,0,0.7)';
line1.moveTo(0, 40);
line1.lineTo(300, 40);
line1.stroke();