Structure for layout of arbitrary number of characters for text rendering.
More...
#include <kanzi/core.ui/text/text_layout.hpp>
Structure for layout of arbitrary number of characters for text rendering.
◆ TextLayout()
Constructor.
- Parameters
-
font | Font used for the layout. |
◆ ~TextLayout()
kanzi::TextLayout::~TextLayout |
( |
| ) |
|
◆ characters
Layouted characters of the text.
◆ font
Font used for rendering the text.
◆ left
float kanzi::TextLayout::left |
X axis coordinate of the left side of the text bounds.
◆ top
float kanzi::TextLayout::top |
Y axis coordinate of the top side of the text bounds.
◆ right
float kanzi::TextLayout::right |
X axis coordinate of the right side of the text bounds.
◆ bottom
float kanzi::TextLayout::bottom |
Y axis coordinate of the bottom side of the text bounds.
◆ width
float kanzi::TextLayout::width |
Width of the text bounds.
◆ height
float kanzi::TextLayout::height |
Height of the text bounds.
◆ lineCount
◆ characterCount
◆ truncated
bool kanzi::TextLayout::truncated |
If the text does not fit in the given maximum bounds, set to true.
◆ overlaps
bool kanzi::TextLayout::overlaps |
If at least two characters overlap, set to true.
The documentation for this struct was generated from the following file: