get_geometry


Description:

[ Version ( since = "3.22" ) ]
public Rectangle get_geometry ()

Retrieves the size and position of an individual monitor within the display coordinate space.

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

Parameters:

this

a Monitor

geometry

a Rectangle to be filled with the monitor geometry