# flip method

void flip(

1. bool flipHorizontally,
2. bool flipVertically

)

Flips the image in-place.

param flipHorizontally Value indicating whether the image should be flipped horizontally. param flipVertically Value indicating whether the image should be flipped vertically. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void flip(bool flipHorizontally, bool flipVertically) {
      var err = faceSDK.id3FaceImage_Flip(_pHandle.value, flipHorizontally, flipVertically);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }