Base class: Object

Lua
C++
Edit

Display

This class provides an interface for querying and managing hardware monitors.

Property Type Description
graphicsmodes table read-only array of available screen resolutions
position iVec2 read-only screen position on the virtual desktop
scale number read-only DPI scaling value
size iVec2 read-only screen dimensions
ClientArea Method returns the usable area within the screen
GetPosition Method returns the position of the display on the virtual monitor space
GetSize Method returns the display dimensions in pixels
GetScale Method returns the current DPI scale value
GetDisplays Function returns a list of hardware displays in use
Copyright © 2024 Ultra Software.
All rights reserved.