The FlipHorizontal
method in the Sandbox.Bitmap
class is used to create a horizontally flipped version of the current bitmap. This method returns a new Bitmap
instance that contains the image data flipped along the vertical axis.
The FlipHorizontal
method in the Sandbox.Bitmap
class is used to create a horizontally flipped version of the current bitmap. This method returns a new Bitmap
instance that contains the image data flipped along the vertical axis.
To use the FlipHorizontal
method, simply call it on an instance of the Bitmap
class. This will return a new Bitmap
object with the image flipped horizontally.
// Example of using FlipHorizontal // Assume 'bitmap' is an instance of Sandbox.Bitmap Sandbox.Bitmap flippedBitmap = bitmap.FlipHorizontal(); // 'flippedBitmap' now contains the horizontally flipped image of 'bitmap'.