ZegoLabelInfo class

Label info.

Description: Font style configuration, can be used to configure font type, font si-e, font color, font transparency. Use cases: Set text watermark in manual stream mixing scene, such as Co-hosting.

Constructors

ZegoLabelInfo(String text, int left, int top, ZegoFontStyle font)
ZegoLabelInfo.text(String text)
Build a label info object with text.

Properties

font ZegoFontStyle
Font style. Required: False.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
left ↔ int
The distance between the font and the left border of the output canvas, in px. Required: False. Default value: 0.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
text ↔ String
Text content, support for setting simplified Chinese, English, half-width, not full-width. Required: True.Value range: Maximum support for displaying 100 Chinese characters and 300 English characters.
read / write
top ↔ int
The distance between the font and the top border of the output canvas, in px. Required: False. Default value: 0.
read / write

Methods

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

Operators

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