get_monitor_at_point


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.2" ) ]
public int get_monitor_at_point (int x, int y)

Warning: get_monitor_at_point is deprecated since 3.22.

Returns the monitor number in which the point (x,y) is located.

Note:

Use get_monitor_at_point instead

Parameters:

this

a Screen.

x

the x coordinate in the virtual screen.

y

the y coordinate in the virtual screen.

Returns:

the monitor number in which the point (x,y) lies, or a monitor close to (x,y) if the point is not in any monitor.