# setBounds method

void setBounds(

1. Rectangle bounds

)

Sets the bounds of the detected face.

param bounds Bounds of the detected face. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setBounds(Rectangle bounds) {
      var err = faceSDK.id3TrackedFace_SetBounds(_pHandle.value, bounds.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }