gcText CreateText(size_t font_id=0, unsigned font_size=16, const Color &col=ColorDef::WHITE, unsigned font_outline=0, const Color &col_outline=ColorDef::BLACK, unsigned font_shadow=0, const Color &col_shadow=ColorDef::BLACK)
创建一个文本
bool SetString(std::string_view str)
设置内容
void SetFormat(bool open)
设置是否要格式化字符串(默认为否)
void SetBackground(bool open, const Color &col=ColorDef::TEXT_BG)
设置背景精灵