RtcImage class

Image properties.

Used to set the properties of watermark and background images in live video.

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

Properties

alpha → double?
The transparency of the watermark or background image. The valid range is 0.0,1.0: 0.0: Fully transparent. 1.0: (Default) Fully 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 of the image on the live video. The character length must not exceed 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, using the top-left corner of the output video frame as the origin.
final
y → int?
The y-coordinate (px) of the image on the video frame, using the top-left corner of the output video frame as the origin.
final
zOrder → int?
The layer index of the watermark or background image. When adding one or more watermarks using a watermark array, you must assign a value to zOrder. The valid range is 1,255; otherwise, the SDK will report an error. In other cases, zOrder is optional. The valid range is 0,255, with 0 as the default. 0 represents the bottom layer, and 255 represents the top layer.
final

Methods

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

Operators

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