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 int
in 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 int
in 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 int
in 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 int
in 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 Int32
in 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

in Handle to the Image object.

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.