Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.WatermarkRatio Class Reference

Public Member Functions

 WatermarkRatio ()
 
 WatermarkRatio (float xRatio, float yRatio, float widthRatio)
 
float getXRatio ()
 
void setXRatio (float xRatio)
 
float getYRatio ()
 
void setYRatio (float yRatio)
 
float getWidthRatio ()
 
void setWidthRatio (float widthRatio)
 

Detailed Description

The options of the watermark image to be added.

Constructor & Destructor Documentation

◆ WatermarkRatio() [1/2]

io.agora.rtc.WatermarkRatio.WatermarkRatio ( )

◆ WatermarkRatio() [2/2]

io.agora.rtc.WatermarkRatio.WatermarkRatio ( float  xRatio,
float  yRatio,
float  widthRatio 
)

Constructor.

Parameters
xRatioThe ratio of the width of the video.
yRatioThe ratio of the height of the video.
widthRatioThe ratio of the width of the video.

Member Function Documentation

◆ getWidthRatio()

float io.agora.rtc.WatermarkRatio.getWidthRatio ( )

◆ getXRatio()

float io.agora.rtc.WatermarkRatio.getXRatio ( )

◆ getYRatio()

float io.agora.rtc.WatermarkRatio.getYRatio ( )

◆ setWidthRatio()

void io.agora.rtc.WatermarkRatio.setWidthRatio ( float  widthRatio)

◆ setXRatio()

void io.agora.rtc.WatermarkRatio.setXRatio ( float  xRatio)

◆ setYRatio()

void io.agora.rtc.WatermarkRatio.setYRatio ( float  yRatio)

The documentation for this class was generated from the following file: