cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

drawing shapes and text with Javascript (mdn web docs)

Mike_NH
Making moves

I'm  not sure if I went to the right site. I was at w3schools.com and found examples of how to draw circles and other shapes with JavaScript and somehow got to mdn web docs and methods for drawing shapes in a web page using JavaScript. I was tinkering with <canvas> and the arc() method and wondered, for all these shapes, how do you place text inside the shape. All I could do was insert text outside the <canvas>.

Yours,

Michael F
=======

0 REPLIES 0