Содержание

setScreen

Sets emulated screen settings to the specified parameters .

Syntax

setScreen = function(aScreen);

Parameters

Notes

Examples

  1. 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);