ScreenOptions
Index
Properties
optionalantialiasing
browser
Browser abstraction
canvas
Canvas element to build a screen on
optionalcanvasImageRendering
Optionally set the image rendering CSS hint on the canvas element, default is auto
context
Graphics context for the screen
optionaldisplayMode
Set the display mode of the screen, by default DisplayMode.Fixed.
optionalpixelRatio
Optionally override the pixel ratio to use for the screen, otherwise calculated automatically from the browser
optionalresolution
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.
viewport
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