set method

void set(
  1. int index,
  2. Point pointItem
)

Sets an item of the PointList object.

param index Index of the Point item to set. param pointItem Point item to set. throws FaceException An error has occurred during Face Library execution.

Implementation

void set(int index, Point pointItem) {
  var err = faceSDK.id3FacePointList_Set(_pHandle.value, index, pointItem.handle);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}