Skip to main content

mapper.enumerate_display_info()

mapper.enumerate_display_info()

This function enumerates information for all displays.

Return Values

This function returns an array of associative array tables described below. The number of elements in the array corresponds to the number of displays connected to the system, with the display number serving as the array index.

KeyTypeDescription
xnumberThe x-coordinate value of the top-left corner of the display in screen space
ynumberThe y-coordinate value of the top-left corner of the display in screen space
widthnumberThe width of the display
heightnumberThe height of the display

See Also