Dart API Referencedart:htmlScreen

Screen Interface

Returns a reference to the screen object associated with the window.

Fields

Code final int availHeight #

Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows.
final int availHeight;

Code final int availLeft #

Returns the first available pixel available from the left side of the screen.
final int availLeft;

Code final int availTop #

Specifies the y-coordinate of the first pixel that is not allocated to permanent or semipermanent user interface features.
final int availTop;

Code final int availWidth #

Returns the amount of horizontal space in pixels available to the window.
final int availWidth;

Code final int colorDepth #

Returns the color depth of the screen.
final int colorDepth;

Code final int height #

Returns the height of the screen in pixels.
final int height;

Code final int pixelDepth #

Gets the bit depth of the screen.
final int pixelDepth;

Code final int width #

Returns the width of the screen.
final int width;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.