WorldScreen.getGradient method
fixing merge conflict, integrate getGradient