ZegoFontStyle class
Font style.
Description: Font style configuration, can be used to configure font type, font size, font color, font transparency. Use cases: Set text watermark in manual stream mixing scene, such as Co-hosting.
Constructors
- ZegoFontStyle(ZegoFontType type, int size, int color, int transparency, bool border, int borderColor)
 - ZegoFontStyle.defaultStyle()
 - Create a default font style object.
 
Properties
- border ↔ bool
 - 
  Whether the font has a border. Required: False. Default value: False. Value range: True/False.
  getter/setter pair
 - borderColor ↔ int
 - 
  Font border color, the calculation formula is: R + G x 256 + B x 65536, the value range of R (red), G (green), and B (blue) 
0,255. Required: False. Default value: 0. Value range:0,16777215.getter/setter pair - color ↔ int
 - 
  Font color, the calculation formula is: R + G x 256 + B x 65536, the value range of R (red), G (green), and B (blue) 
0,255. Required: False. Default value: 16777215(white). Value range:0,16777215.getter/setter pair - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - size ↔ int
 - 
  Font size in px. Required: False. Default value: 24. Value range: 
12,100.getter/setter pair - transparency ↔ int
 - 
  Font transparency. Required: False. Default value: 0. Value range: 
0,100, 100 is completely opaque, 0 is completely transparent.getter/setter pair - type ↔ ZegoFontType
 - 
  Font type. Required: False. Default value: Source han sans 
ZegoFontTypeSourceHanSansgetter/setter pair 
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