Axmol Engine 2.4.0-258ceca
|
Font attributes. More...
#include <Types.h>
Public Attributes | |
std::string | _fontName |
font name | |
int | _fontSize = 0 |
font size | |
TextHAlignment | _alignment = TextHAlignment::CENTER |
horizontal alignment | |
TextVAlignment | _vertAlignment = TextVAlignment::TOP |
vertical alignment | |
Vec2 | _dimensions = Vec2::ZERO |
rendering box | |
Color3B | _fontFillColor = Color3B::WHITE |
font color | |
uint8_t | _fontAlpha = 255 |
font alpha | |
FontShadow | _shadow |
font shadow | |
FontStroke | _stroke |
font stroke | |
bool | _enableWrap = true |
enable text wrap | |
int | _overflow = 0 |
There are 4 overflows: none, clamp, shrink and resize_height. | |
Font attributes.
int _overflow = 0 |
There are 4 overflows: none, clamp, shrink and resize_height.
The corresponding integer values are 0, 1, 2, 3 respectively For more information, please refer to Label::Overflow enum class.