📄 textcomponent.pkg
字号:
/*********************************************************************
TextComponent
**********************************************************************/
class TextComponent : public FalagardComponentBase
{
string getText() const;
void setText(string text);
string getFont() const;
void setFont(string font);
VerticalTextFormatting getVerticalFormatting() const;
void setVerticalFormatting(VerticalTextFormatting fmt);
HorizontalTextFormatting getHorizontalFormatting() const;
void setHorizontalFormatting(HorizontalTextFormatting fmt);
//void writeXMLToStream(OutStream& out_stream) const;
bool isTextFetchedFromProperty() const;
string getTextPropertySource() const;
void setTextPropertySource(string property);
bool isFontFetchedFromProperty() const;
string getFontPropertySource() const;
void setFontPropertySource(string property);
TextComponent();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -