Screen.width

Gets the width of the default screen in pixels. The returned size is in ”application pixels”, not in ”device pixels” (see Screen.getMonitorScaleFactor).

More...
class Screen
static
int
width
()

Return Value

Type: int

the width of the default screen in pixels.

Detailed Description

Deprecated: Use per-monitor information