logo
On this page

ZegoLabelInfo

ZegoLabelInfo

Label info.

Details

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.

Declared in entity/ZegoLabelInfo.java

Properties

text

text
public String text
  • Required: True.
  • Value range: Maximum support for displaying 100 Chinese characters and 300 English characters.

left

left
public int left
  • Required: False.
  • Default value: 0.

top

top
public int top
  • Required: False.
  • Default value: 0.

font

font
public ZegoFontStyle font
  • Required: False.

Methods

ZegoLabelInfo

ZegoLabelInfo
public ZegoLabelInfo(String text)
Build a label info object with text.
Declared in entity/ZegoLabelInfo.java

Previous

zegoitemparam

Next

zegologconfig

On this page

Back to top