Emx::MediaInfOsd::ParamText结构体 参考

文字类型OSD持久化参数

#include "MediaInfOsd.hpp"

Public 属性

int size
 字体大小 更多...
 
int thickness
 边框大小 更多...
 
bool wrapLine
 使能换行操作 更多...
 
int lineSpace
 行间距,分辨率万分比0~10000,wrapLine=true生效 更多...
 
char font [64]
 字体文件名(字体文件均放置在configs/media/font目录下 更多...
 
char content [MaxTextSize]
 显示内容 更多...
 
uint32_t color
 字体位图主体rgba颜色 0=黑白描边自动 更多...
 
bool autoSwitchColor
 是否自动翻转黑白颜色 更多...
 

类成员变量说明

◆ size

int Emx::MediaInfOsd::ParamText::size

◆ thickness

int Emx::MediaInfOsd::ParamText::thickness

◆ wrapLine

bool Emx::MediaInfOsd::ParamText::wrapLine

◆ lineSpace

int Emx::MediaInfOsd::ParamText::lineSpace

◆ font

char Emx::MediaInfOsd::ParamText::font[64]

◆ content

char Emx::MediaInfOsd::ParamText::content[MaxTextSize]

◆ color

uint32_t Emx::MediaInfOsd::ParamText::color

◆ autoSwitchColor

bool Emx::MediaInfOsd::ParamText::autoSwitchColor