Portrait.imageTranslation Property

Module: Portrait

Type: Point

Definition

Translation to be applied to the source image to display the portrait.

image_translation: Point

Exceptions

An error has occurred during Face Library execution.
Point get imageTranslation => getImageTranslation();

Exceptions

An error has occurred during Face Library execution.
public Point imageTranslation
{
    get => GetimageTranslation();
}

Exceptions

An error has occurred during Face Library execution.
public Point getImageTranslation() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var imageTranslation: Point
    get {
        return try! getImageTranslation()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetImageTranslation (ID3_FACE_PORTRAIT hPortrait, id3FacePoint * sImageTranslation)

Returns

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