@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Screen")
public class Screen
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Screen() |
| Modifier and Type | Method and Description |
|---|---|
int |
availHeight()
The read-only Screen interface's availHeight property returns the height, in CSS pixels, of the space available for Web content on the screen.
|
int |
availWidth()
The Screen.availWidth property returns the amount of horizontal space (in pixels) available to the window.
|
int |
colorDepth()
The Screen.colorDepth read-only property returns the color depth of the screen.
|
int |
height()
The Screen.height read-only property returns the height of the screen in pixels.
|
ScreenOrientation |
orientation()
The orientation read-only property of the Screen interface returns the current orientation of the screen.
|
int |
pixelDepth()
Returns the bit depth of the screen.
|
int |
width()
The Screen.width read-only property returns the width of the screen in pixels.
|
@JsProperty(name="availHeight") public int availHeight()
@JsProperty(name="availWidth") public int availWidth()
@JsProperty(name="colorDepth") public int colorDepth()
@JsProperty(name="height") public int height()
@JsProperty(name="orientation") @Nonnull public ScreenOrientation orientation()
@JsProperty(name="pixelDepth") public int pixelDepth()
@JsProperty(name="width") public int width()