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

Data Fields

const char * url
 
int x
 
int y
 
int width
 
int height
 
int zOrder
 
double alpha
 

Detailed Description

The definition of the RtcImage struct.

Constructor & Destructor Documentation

◆ RtcImage()

RtcImage ( )
inline

Field Documentation

◆ url

const char* url

The URL address of the watermark on the video.

◆ x

int x

The horizontal distance (pixel) between the watermark image's top-left corner and the video's top-left corner.

◆ y

int y

The vertical distance (pixel) between the watermark image's top-left corner and the video's top-left corner.

◆ width

int width

The width of the watermark on the video.

◆ height

int height

The height of the watermark on the video.

◆ zOrder

int zOrder

Order attribute for an ordering of overlapping two-dimensional objects.

◆ alpha

double alpha

The transparency level of the image. The value ranges between 0 and 1.0:

  • 0: Completely transparent
  • 1.0: (Default) Opaque