Public Member Functions

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

Public Attributes

int x
 
int y
 
int width
 
int height
 

Detailed Description

The relative location of the region to the screen or window.

Constructor & Destructor Documentation

◆ Rectangle() [1/2]

agora::rtc::Rectangle::Rectangle ( )
inline

◆ Rectangle() [2/2]

agora::rtc::Rectangle::Rectangle ( int  xx,
int  yy,
int  ww,
int  hh 
)
inline

Member Data Documentation

◆ x

int agora::rtc::Rectangle::x

The horizontal offset from the top-left corner.

◆ y

int agora::rtc::Rectangle::y

The vertical offset from the top-left corner.

◆ width

int agora::rtc::Rectangle::width

The width of the region.

◆ height

int agora::rtc::Rectangle::height

The height of the region.