Observation of quantum confinement by strain gradients.