Package im.zego.zegoexpress.entity
Class ZegoLabelInfo
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoLabelInfo
-
public class ZegoLabelInfo extends java.lang.Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description ZegoFontStyle
font
Font style.int
left
The distance between the font and the left border of the output canvas, in px.java.lang.String
text
Text content, support for setting simplified Chinese, English, half-width, not full-width.int
top
The distance between the font and the top border of the output canvas, in px.
-
Constructor Summary
Constructors Constructor Description ZegoLabelInfo(java.lang.String text)
Build a label info object with text.
-
-
-
Field Detail
-
text
public java.lang.String text
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.
-
left
public int left
The distance between the font and the left border of the output canvas, in px. Required: False. Default value: 0.
-
top
public int top
The distance between the font and the top border of the output canvas, in px. Required: False. Default value: 0.
-
font
public ZegoFontStyle font
Font style. Required: False.
-
-