DrawTextManager::TextParams

DrawTextManager::TextParams
struct TextParams {
  Color TextColor;
  DrawText::Alignment HAlignment;
  DrawText::VAlignment VAlignment;
  DrawText::FontStyle FontStyle;
  float FontSize;
  String FontName;
  bool Underline;
  bool Multiline;
  bool WordWrap;
};
Description

TextParams is a structure which defines the parameters of the newly created text.

Data Members
Data Member 
Description 
Name of the font. 
Size of the font in pixels. May be fractional. 
Font style such as bold, italic, normal or bold italic. Possible values are: DrawText::FontStyle::Normal, DrawText::FontStyle::Bold, DrawText::FontStyle::Italic, DrawText::FontStyle::BoldItalic. 
Specifies horizontal alignment. Possible values are: DrawText::Alignment::Align_Left (default), DrawText::Alignment::Align_Right, DrawText::Alignment::Align_Center, DrawText::Alignment::Align_Justify. 
Toggles multi-line/single-line modes for the text. 
Specifies the color of the text, including the alpha channel. 
Specifies whether underline should be used or not. 
Specifies vertical alignment. Possible values are:DrawText::VAlignment::VAlign_Top (default), DrawText::VAlignment::VAlign_Bottom, DrawText::VAlignment::VAlign_Center. 
Turns on/off wordwrapping; relevant only for multi-line text boxes. 
Methods
Method 
Description 
Initializes the text parameters. 
File

GFx_DrawText.h