drawing shapes and text with Javascript (mdn web docs)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 04:52 PM
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

