added Rect::getCenteredFill();