#include <scenetree/YiTextSceneNode.h>
◆ YI_TEXT_DEF()
CYITextSceneNode::YI_TEXT_DEF::YI_TEXT_DEF |
( |
| ) |
|
◆ m_adjustsFontSizeToFit
bool CYITextSceneNode::YI_TEXT_DEF::m_adjustsFontSizeToFit |
Whether the text font should scale down to fit the box width and specified maximum number of lines.
◆ m_ellipses
bool CYITextSceneNode::YI_TEXT_DEF::m_ellipses |
Flag to indicate if the text should be ellipsized.
◆ m_length
size_t CYITextSceneNode::YI_TEXT_DEF::m_length |
Number of characters in text.
◆ m_minimumFontScale
float CYITextSceneNode::YI_TEXT_DEF::m_minimumFontScale |
Smallest possible scale a font can reach when adjustsFontSizeToFit is true.
◆ m_multiline
bool CYITextSceneNode::YI_TEXT_DEF::m_multiline |
Flag that indicates the text spans multiple lines.
◆ m_numberOfLines
int32_t CYITextSceneNode::YI_TEXT_DEF::m_numberOfLines |
◆ m_styles
List of styles definitions that will be applied to the text.
◆ m_text
CYIString CYITextSceneNode::YI_TEXT_DEF::m_text |
◆ m_trimmingMode
Whitespace trimming behavior
◆ m_userSpecifiedWidth
bool CYITextSceneNode::YI_TEXT_DEF::m_userSpecifiedWidth |
◆ m_XJustify
Horizontal justification.
The documentation for this struct was generated from the following file: