Shape control of soft patchy nanoparticles under confinement