setScreen
Sets emulated screen settings to the specified parameters .
Syntax
setScreen = function(aScreen);
Parameters
- aScreen
- functions: structure containing the required screen settings
Notes
- The real parameters of the screen do not change.
Examples
var screen = {}; screen.width = 1024; screen.height = 768; screen.colorDepth = 24; screen.pixelDepth = 24; screen.availHeight = 984; screen.availWidth = 768; screen.availLeft = 0; screen.availTop = 0; setScreen(screen);