Implement layers for FlipX, FlipY and FlipXY.
Implement layers for FlipX, FlipY and FlipXY.