Structure that holds the parameters that TextConceptImpl::prepareTextFormat() needs. More...
#include <kanzi/ui/node/concept/text_concept.hpp>
Public Attributes | |
| string | overflowText |
| The characters that represent the clipped text when the text string to be rendered is too long to fit in the node. More... | |
| bool | removeSideBearingsEnabled |
| Sets the position of the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the text node. More... | |
| float | textFormatHeight |
| The available text height. More... | |
| float | textFormatWidth |
| The available text width. More... | |
| TextFormat::TextHorizontalAlignment | textHorizontalAlignment |
| The horizontal alignment of the text. More... | |
| TextFormat::TextVerticalAlignment | textVerticalAlignment |
| The vertical alignment of the text. More... | |
| TextFormat::WhitespacePolicy | whitespacePolicy |
| The policy applied on trailing or leading whitespaces. More... | |
| bool | wordWrap |
| Whether to break long text lines to multiple lines to make the text fit within the boundaries of the node. More... | |
Structure that holds the parameters that TextConceptImpl::prepareTextFormat() needs.
| float kanzi::TextConcept::TextFormatParameters::textFormatWidth |
The available text width.
| float kanzi::TextConcept::TextFormatParameters::textFormatHeight |
The available text height.
| TextFormat::TextHorizontalAlignment kanzi::TextConcept::TextFormatParameters::textHorizontalAlignment |
The horizontal alignment of the text.
| TextFormat::TextVerticalAlignment kanzi::TextConcept::TextFormatParameters::textVerticalAlignment |
The vertical alignment of the text.
| TextFormat::WhitespacePolicy kanzi::TextConcept::TextFormatParameters::whitespacePolicy |
The policy applied on trailing or leading whitespaces.
| bool kanzi::TextConcept::TextFormatParameters::removeSideBearingsEnabled |
Sets the position of the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the text node.
| string kanzi::TextConcept::TextFormatParameters::overflowText |
The characters that represent the clipped text when the text string to be rendered is too long to fit in the node.
| bool kanzi::TextConcept::TextFormatParameters::wordWrap |
Whether to break long text lines to multiple lines to make the text fit within the boundaries of the node.