Rotate() public method

Rotates and/or flips the image
public Rotate ( RotateFlipType flipType ) : SwiftBitmap
flipType RotateFlipType Type of flip/rotation to do
return SwiftBitmap
 public void Rotate()
 {
     using (Utilities.Media.SwiftBitmap TestObject = new Utilities.Media.SwiftBitmap(@"..\..\Data\Image\Lenna.jpg"))
     {
         TestObject.Rotate(50.0f).Save(@".\Testing\LennaRotate.jpg");
         Assert.True(new Utilities.IO.FileInfo(@".\Testing\LennaRotate.jpg").ReadBinary().SequenceEqual(new Utilities.IO.FileInfo(@"..\..\BitmapResults\LennaRotate.jpg").ReadBinary()));
     }
 }