Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.WatermarkOptions.Rectangle Class Reference

The location of the target area relative to the screen or window. If you do not set this. More...

## 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 location of the target area relative to the screen or window. If you do not set this.

Since
  4.6.0 parameter, the SDK selects the whole screen or window.

## Member Data Documentation

## ◆ x

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

The horizontal offset from the top-left corner.

## ◆ y

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

The vertical offset from the top-left corner.

## ◆ width

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

The width of the target area.

## ◆ height

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

The height of the target area.