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
Methods
new
new
+ (instancetype)new NS_UNAVAILABLE;This function is unavaialble.
Declared in
ZegoExpressDefines.hPlease use [initWithText:] instead
init
init
- (instancetype)init NS_UNAVAILABLE;This function is unavaialble.
Declared in
ZegoExpressDefines.hPlease use [initWithText:] instead
initWithText
initWithText
- (instancetype)initWithText:(NSString *)text;build a label info object with text.
Declared in
ZegoExpressDefines.hZegoLabelInfo instance.
