Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::Rectangle Struct Reference

#include <AgoraBase.h>

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 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]

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.