rotate method

void rotate(
  1. int angle,
  2. Point center
)

Rotates the face object by a given angle in degrees from a given center.

param angle Angle of the rotation to apply to the face object. param center Center of the rotation to apply to the face object. throws FaceException An error has occurred during Face Library execution.

Implementation

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