Example:
auto info = screenBounds(0);
writeln("Primary screen: ", info.width, "x", info.height);Gets the bounding rectangle of a screen.
screen | Screen number (0 to screenCount-1) |
Example:
auto info = screenBounds(0);
writeln("Primary screen: ", info.width, "x", info.height);