Shape analysis of H ii regions – II. Synthetic observations