Agora RTC Objective-C API Reference  Refactor
Data Fields
Rectangle Struct Reference

Data Fields

int x
 
int y
 
int width
 
int height
 

Detailed Description

The location of the target area relative to the screen or window. If you do not set this parameter, the SDK selects the whole screen or window.

Constructor & Destructor Documentation

◆ Rectangle() [1/2]

Rectangle ( )
inline

◆ Rectangle() [2/2]

Rectangle ( int  xx,
int  yy,
int  ww,
int  hh 
)
inline

Field Documentation

◆ x

int x

The horizontal offset from the top-left corner.

◆ y

int y

The vertical offset from the top-left corner.

◆ width

int width

The width of the region.

◆ height

int height

The height of the region.