void (@NotNull Rectangle aRectangle) { int screenX = aRectangle.x + aRectangle.width / 2; int screenY = aRectangle.y + aRectangle.height / 2; Rectangle screen = getScreenRectangle(screenX, screenY); moveToFit(aRectangle, screen, null); }