CaptureImage.rotateTo Method¶
Module: CaptureImage
Definition¶
Rotates the image to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate_to(self, angle: int, dst_capture_image: CaptureImage) -> None
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dst_capture_image
CaptureImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Devices Library execution.
void rotateTo(int angle, CaptureImage dstCaptureImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstCaptureImage
CaptureImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Devices Library execution.
public void RotateTo(int angle, CaptureImage dstCaptureImage)
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstCaptureImage
CaptureImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Devices Library execution.
public void rotateTo(int angle, CaptureImage dstCaptureImage) throws DevicesException
Parameters
angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstCaptureImage
CaptureImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_RotateTo (
ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
int angle,
ID3_DEVICES_CAPTURE_IMAGE hDstCaptureImage)
Parameters
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].hDstCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin The destination Image that receives the rotated image.
Returns