|
Axmol 3.0.0-89d6d9a
|
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 | |
| Color32 | _fontFillColor = Color32::white |
| font color | |
| 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.