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

Data Fields

float xRatio
 
float yRatio
 
float widthRatio
 

Detailed Description

The options of the watermark image to be added.

Constructor & Destructor Documentation

◆ WatermarkRatio() [1/2]

WatermarkRatio ( )
inline

◆ WatermarkRatio() [2/2]

WatermarkRatio ( float  x,
float  y,
float  width 
)
inline

Field Documentation

◆ xRatio

float xRatio

The ratio of the width of the video, see #WATERMARK_FIT_MODE::FIT_MODE_USE_IMAGE_RATIO

◆ yRatio

float yRatio

The ratio of the height of the video, see #WATERMARK_FIT_MODE::FIT_MODE_USE_IMAGE_RATIO

◆ widthRatio

float widthRatio

The ratio of the width of the video, see #WATERMARK_FIT_MODE::FIT_MODE_USE_IMAGE_RATIO