Optional
antialiasingBrowser abstraction
Canvas element to build a screen on
Graphics context for the screen
Optional
displaySet the display mode of the screen, by default DisplayMode.Fixed.
Optional
pixelOptionally override the pixel ratio to use for the screen, otherwise calculated automatically from the browser
Optional
resolutionOptionally 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