Agora Java API Reference for Android
io.agora.rtc.video.WatermarkOptions.Rectangle Class Reference

Public Member Functions

 Rectangle (int x_, int y_, int width_, int height_)
 

Public Attributes

int x = 0
 
int y = 0
 
int width = 0
 
int height = 0
 

Detailed Description

The position and size of the watermark image.

Member Data Documentation

◆ x

int io.agora.rtc.video.WatermarkOptions.Rectangle.x = 0

The horizontal offset from the top-left corner.

◆ y

int io.agora.rtc.video.WatermarkOptions.Rectangle.y = 0

The vertical offset from the top-left corner.

◆ width

int io.agora.rtc.video.WatermarkOptions.Rectangle.width = 0

The width (pixels) of the watermark image.

◆ height

int io.agora.rtc.video.WatermarkOptions.Rectangle.height = 0

The height (pixels) of the watermark image.