Rotate() method added to the PixelBuffer.