Screen.getWidthMm

int getWidthMm()

Gets the width of screen in millimeters.

Note that this value is somewhat ill-defined when the screen has multiple monitors of different resolution. It is recommended to use the monitor dimensions instead.

Returns

the width of screen in millimeters.

Deprecated

Use per-monitor information instead