Agora RTC Objective-C API Reference Refactor

Properties
AgoraFacePositionInfo Class Reference

Inherits <NSObject>.

## Properties
NSInteger | x
NSInteger | y
NSInteger | width
NSInteger | height
NSInteger | distance

## Property Documentation

## ◆ x

- (NSInteger) x
| read write nonatomic assign

The x-coordinate (px) of the human face in the local video. The horizontal position relative to the origin, where the upper left corner of the captured video is the origin, and the x-coordinate is the upper left corner of the watermark.

## ◆ y

- (NSInteger) y
| read write nonatomic assign

The y-coordinate (px) of the human face in the local video. Taking the top left corner of the captured video as the origin, the y coordinate represents the relative longitudinal displacement of the top left corner of the human face to the origin.

## ◆ width

- (NSInteger) width
| read write nonatomic assign

The width (px) of the human face in the captured video.

## ◆ height

- (NSInteger) height
| read write nonatomic assign

The height (px) of the human face in the captured video.

## ◆ distance

- (NSInteger) distance
| read write nonatomic assign

The distance between the human face and the device screen (cm).