The geometry and properties of ledges in interfaces