get_monitor_geometry


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.2" ) ]
public void get_monitor_geometry (int monitor_num, out Rectangle dest)

Warning: get_monitor_geometry is deprecated since 3.22.

Retrieves the Rectangle representing the size and position of the individual monitor within the entire screen area.

Note:

Use get_geometry instead

The returned geometry is in ”application pixels”, not in ”device pixels” (see get_monitor_scale_factor).

Monitor numbers start at 0. To obtain the number of monitors of this, use get_n_monitors.

Note that the size of the entire screen area can be retrieved via get_width and get_height.

Parameters:

this

a Screen

monitor_num

the monitor number

dest

a Rectangle to be filled with the monitor geometry