Portrait.fromHandle constructor

Portrait.fromHandle(
  1. Pointer<id3FacePortrait> handle
)

Creates a new instance of the Portrait class.

param handle Handle to the Portrait. throws FaceException An error has occurred during Face Library execution.

Implementation

Portrait.fromHandle(Pointer<id3FacePortrait> handle) {
  _pHandle = calloc();
  _pHandle.value = handle;
  _disposable = false;
}