rotate method

void rotate(
  1. int angle
)

Rotates the image in-place to the specified angle. Note: The rotation is performed counter-clockwise.

param angle The rotation angle, in degree. Supported values are (0, 90, 180, 270). throws FaceException An error has occurred during Face Library execution.

Implementation

void rotate(int angle) {
  var err = faceSDK.id3FaceImage_Rotate(_pHandle.value, angle);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}