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 ZegoExpressDefines.h

Properties

text

text
nonatomic, copy NSString * text
  • Required: True.
  • Value range: Maximum support for displaying 100 Chinese characters and 300 English characters.

left

left
nonatomic, assign int left
  • Required: False.
  • Default value: 0.

top

top
nonatomic, assign int top
  • Required: False.
  • Default value: 0.

font

font
nonatomic, strong ZegoFontStyle * font
  • Required: False.

Methods

new

new
+ (instancetype)new NS_UNAVAILABLE;
This function is unavaialble.
Declared in ZegoExpressDefines.h

Please use [initWithText:] instead

init

init
- (instancetype)init NS_UNAVAILABLE;
This function is unavaialble.
Declared in ZegoExpressDefines.h

Please use [initWithText:] instead

initWithText

initWithText
- (instancetype)initWithText:(NSString *)text;
build a label info object with text.
Declared in ZegoExpressDefines.h

ZegoLabelInfo instance.

Previous

zegoitemparam

Next

zegolayerborderconfig

On this page

Back to top