RtcImage class

Image properties.

This class sets the properties of the watermark and background images in the live video.

Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false)

Properties

alpha double?
The transparency of the watermark or background image. The range of the value is 0.0,1.0: 0.0: Completely transparent. 1.0: (Default) Opaque.
final
hashCode int
The hash code for this object.
no setterinherited
height int?
The height (px) of the image on the video frame.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The HTTP/HTTPS URL address of the image in the live video. The maximum length of this parameter is 1024 bytes.
final
width int?
The width (px) of the image on the video frame.
final
x int?
The x-coordinate (px) of the image on the video frame (taking the upper left corner of the video frame as the origin).
final
y int?
The y-coordinate (px) of the image on the video frame (taking the upper left corner of the video frame as the origin).
final
zOrder int?
The layer index of the watermark or background image. When you use the watermark array to add a watermark or multiple watermarks, you must pass a value to zOrder in the range 1,255; otherwise, the SDK reports an error. In other cases, zOrder can optionally be passed in the range 0,255, with 0 being the default value. 0 means the bottom layer and 255 means the top layer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited