0

How to fit the canvas to the page?

How do I make the canvas occupie all the screen of a device?

30th Oct 2019, 1:51 AM
Bright Lin
Bright Lin - avatar
1 Answer
0
I don't know, also maybe canvas.width = window.innerWidth; canvas.height = window.innerHeight;
30th Oct 2019, 2:09 AM
Bright Lin
Bright Lin - avatar