static Rect screenBounds(GraphicsDevice screen) { ret screen == null ?: toRect(screen.getDefaultConfiguration().getBounds()); } static Rect screenBounds(int iScreen) { ret screenBounds(get(screenDevices(), iScreen)); }