Gradient.resolveForContext