The purpose of flipping or rotating a layer can be either to change the position of the objects on the layer or to vary the effect of a gradient or pattern layer. The Image, Rotate command has a submenu section for such operations performed on entire layers.