Image.rotate Method¶
Module: Image
Definition¶
Rotates the image in-place to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate(self, angle: int) -> None
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Exceptions
An error has occurred during Face Library execution.
void rotate(int angle)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Exceptions
An error has occurred during Face Library execution.
public void Rotate(int angle)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Exceptions
An error has occurred during Face Library execution.
public void rotate(int angle) throws FaceException
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Exceptions
An error has occurred during Face Library execution.
public func rotate(angle: Int32) throws
Parameters
angle
Int32in The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_Rotate (
ID3_FACE_IMAGE hImage,
int angle)
Parameters
hImage
ID3_FACE_IMAGEin Handle to the Image object.angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Returns