MathUtils.getFillRatio - for backgrounds.