ZegoLiveRoom
Public Member Functions | Public Attributes | List of all members
ZEGO::AV::ZegoFontStyle Struct Reference

#include <zego-api-defines.h>

Public Member Functions

 ZegoFontStyle ()
 

Public Attributes

ZegoFontType type
 
int size
 
int color
 
int transparency
 
bool border
 
int borderColor
 

Detailed Description

字体风格

Constructor & Destructor Documentation

◆ ZegoFontStyle()

ZEGO::AV::ZegoFontStyle::ZegoFontStyle ( )
inline

Member Data Documentation

◆ border

bool ZEGO::AV::ZegoFontStyle::border

字体是否有边框。是否必填:否。默认值:false。取值范围:true/false.

◆ borderColor

int ZEGO::AV::ZegoFontStyle::borderColor

字体边框颜色,计算公式为为:R + G x 256 + B x 65536,R(红)、G(绿)、B(蓝)的取值范围 [0,255]。是否必填:否。默认值:0。取值范围:[0,16777215]。

◆ color

int ZEGO::AV::ZegoFontStyle::color

字体颜色,计算公式为为:R + G x 256 + B x 65536,R(红)、G(绿)、B(蓝)的取值范围 [0,255]。是否必填:否。默认值:16777215(白色)。取值范围:[0,16777215]。

◆ size

int ZEGO::AV::ZegoFontStyle::size

字体大小,单位 px。是否必填:否。默认值:24。取值范围:[12,100]。

◆ transparency

int ZEGO::AV::ZegoFontStyle::transparency

字体透明度。是否必填:否。默认值:0。取值范围:[0,100],100 为完全不透明,0 为完全透明。

◆ type

ZegoFontType ZEGO::AV::ZegoFontStyle::type

字体类型。是否必填:否。默认值:思源黑体 FONT_SOURCE_HAN_SANS。


The documentation for this struct was generated from the following file: