Bitmap FlipHorizontal()

robot_2Generated
code_blocksInput

Description

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.

Usage

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

// 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'.