Public Attributes | |
String | url |
int | x |
int | y |
int | width |
int | height |
int | zOrder |
double | alpha |
Agora image properties.
A class for setting the properties of the watermark and background images.
String io.agora.rtc.video.AgoraImage.url |
HTTP/HTTPS URL address of the image on the video. The maximum length of this parameter is 1024 bytes.
int io.agora.rtc.video.AgoraImage.x |
Position of the image on the upper left of the video on the horizontal axis.
int io.agora.rtc.video.AgoraImage.y |
Position of the image on the upper left of the video on the vertical axis.
int io.agora.rtc.video.AgoraImage.width |
Width of the image on the video.
int io.agora.rtc.video.AgoraImage.height |
Height of the image on the video.
int io.agora.rtc.video.AgoraImage.zOrder |
The layer number of the watermark or background image. The value range is [0,255]:
0
: (Default) The bottom layer.255
: The top layer.double io.agora.rtc.video.AgoraImage.alpha |
The transparency of the watermark or background image. The value range is [0.0,1.0]:
0.0
: Completely transparent.1.0
: (Default) Opaque.