Shape of higher-order photon rings: analytical description with polar curve