Canvas element to build a screen on
Graphics context for the screen
Set the display mode of the screen, by default DisplayMode.Fixed.
Optionally override the pixel ratio to use for the screen, otherwise calculated automatically from the browser
Optionally specify the actual pixel resolution in width/height pixels (also known as logical resolution), by default the resolution will be the same as the viewport. Resolution will be overridden by DisplayMode.FillContainer and DisplayMode.FillScreen.
Visual viewport size in css pixel, if resolution is not specified it will be the same as the viewport
Optionally set antialiasing, defaults to true. If set to true, images will be smoothed