Image.rotateTo Method¶
Module: Image
Definition¶
Rotates the image to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate_to(self, angle: int, dst_image: Image) -> None
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dst_image
Imagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
void rotateTo(int angle, Image dstImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImage
Imagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public void RotateTo(int angle, Image dstImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImage
Imagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public void rotateTo(int angle, Image dstImage) throws FaceException
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImage
Imagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public func rotateTo(angle: Int32, dstImage: Image) throws
Parameters
angle
Int32in The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImage
Imagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_RotateTo (
ID3_FACE_IMAGE hImage,
int angle,
ID3_FACE_IMAGE hDstImage)
Parameters
hImage
ID3_FACE_IMAGEin Handle to the Image object.angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].hDstImage
ID3_FACE_IMAGEin The destination Image that receives the rotated image.
Returns