logo
On this page

ZegoFontStyle

ZegoFontStyle

Font style.

Details

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.

Declared in ZegoExpressDefines.h

Properties

type

type
nonatomic, assign ZegoFontType type
  • Required: False.
  • Default value: Source han sans [ZegoFontTypeSourceHanSans]

size

size
nonatomic, assign int size
  • Required: False.
  • Default value: 24.
  • Value range: [12,100].

color

color
nonatomic, assign int color
  • Required: False.
  • Default value: 16777215(white).
  • Value range: [0,16777215].

transparency

transparency
nonatomic, assign int transparency
  • Required: False.
  • Default value: 0.
  • Value range: [0,100], 100 is completely opaque, 0 is completely transparent.

border

border
nonatomic, assign BOOL border
  • Required: False.
  • Default value: False.
  • Value range: True/False.

borderColor

borderColor
nonatomic, assign int borderColor
  • Required: False.
  • Default value: 0.
  • Value range: [0,16777215].

Previous

zegofacepositioninfo

Next

zegoitemparam

On this page

Back to top