The FlipVertical
method in the Sandbox.Bitmap
class is used to flip the bitmap image vertically. This operation creates a new bitmap instance where the image is mirrored along the horizontal axis, effectively turning the image upside down.
The FlipVertical
method in the Sandbox.Bitmap
class is used to flip the bitmap image vertically. This operation creates a new bitmap instance where the image is mirrored along the horizontal axis, effectively turning the image upside down.
To use the FlipVertical
method, simply call it on an instance of the Bitmap
class. This method does not take any parameters and returns a new Bitmap
instance with the vertically flipped image.
// Example of using FlipVertical Bitmap originalBitmap = new Bitmap(); // Assume originalBitmap is initialized and contains image data Bitmap flippedBitmap = originalBitmap.FlipVertical(); // Now, flippedBitmap contains the vertically flipped image of originalBitmap.