Display

Information of monitor.

Header#include "nativeui/screen.h"
Namespacenamespace nu
Typestruct

Properties

uint32_t id

An unique ID of the monitor.

float scale_factor

Output device's pixel scale factor.

bool internal macOS Windows

Whether this is an internal display.

RectF bounds

The display's bounds.

RectF work_area

The work area's bounds.