setFullscreen

setFullscreen() can be used to set the canvas to fill the entire parent and automatically scale to fill the parent whenever it resizes.