DetectedFace.rotate Method¶
Module: DetectedFace
Definition¶
Rotates the face object by a given angle in degrees from a given center.
rotate(self, angle: int, center: Point) -> None
Parameters
angle
intin Angle of the rotation to apply to the face object.center
Pointin Center of the rotation to apply to the face object.
Exceptions
An error has occurred during Face Library execution.
void rotate(int angle, Point center)
Parameters
angle
intin Angle of the rotation to apply to the face object.center
Pointin Center of the rotation to apply to the face object.
Exceptions
An error has occurred during Face Library execution.
public void Rotate(int angle, Point center)
Parameters
angle
intin Angle of the rotation to apply to the face object.center
Pointin Center of the rotation to apply to the face object.
Exceptions
An error has occurred during Face Library execution.
public void rotate(int angle, Point center) throws FaceException
Parameters
angle
intin Angle of the rotation to apply to the face object.center
Pointin Center of the rotation to apply to the face object.
Exceptions
An error has occurred during Face Library execution.
public func rotate(angle: Int32, center: Point) throws
Parameters
angle
Int32in Angle of the rotation to apply to the face object.center
Pointin Center of the rotation to apply to the face object.
Exceptions
An error has occurred during Face Library execution.
int id3DetectedFace_Rotate (
ID3_DETECTED_FACE hDetectedFace,
int angle,
const id3FacePoint * sCenter)
Parameters
hDetectedFace
ID3_DETECTED_FACEin Handle to the DetectedFace object.angle
intin Angle of the rotation to apply to the face object.sCenter
const id3FacePoint *in Center of the rotation to apply to the face object.
Returns