Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::interop::TextFormatEnums Struct Reference

#include <kanzi/interop/autogen/core.ui/text/text_format_enums.hpp>

Public Types

enum  TextHorizontalAlignment { TextHorizontalAlignmentLeft, TextHorizontalAlignmentRight, TextHorizontalAlignmentCenter }
 Horizontal alignment options for text layout. More...
 
enum  TextVerticalAlignment { TextVerticalAlignmentTop, TextVerticalAlignmentBaseline, TextVerticalAlignmentCenter, TextVerticalAlignmentBottom }
 Vertical alignment options for text layout. More...
 
enum  Truncation { Truncation::None, Truncation::AtCharacter, Truncation::AtWord }
 Type of truncation boundary for the text that does not fit in the available space. More...
 
enum  TruncationDirection { TruncationDirection::Trailing, TruncationDirection::Center, TruncationDirection::Leading }
 Part of the text to truncate, if the text does not fit in the available space. More...
 

Member Enumeration Documentation

Horizontal alignment options for text layout.

Enumerator
TextHorizontalAlignmentLeft 

Text is aligned to the left.

TextHorizontalAlignmentRight 

Text is aligned to the right.

TextHorizontalAlignmentCenter 

Text is centered horizontally.

Vertical alignment options for text layout.

Enumerator
TextVerticalAlignmentTop 

Text is aligned to the top.

TextVerticalAlignmentBaseline 

Text is aligned to the baseline of the first line of the text.

TextVerticalAlignmentCenter 

Text is centered vertically.

TextVerticalAlignmentBottom 

Text is aligned to the bottom.

Type of truncation boundary for the text that does not fit in the available space.

Enumerator
None 

Disable truncation.

AtCharacter 

Truncate text character by character.

AtWord 

Truncate text by entire words.

Part of the text to truncate, if the text does not fit in the available space.

Enumerator
Trailing 

Truncate the end part of the text.

Center 

Truncate the middle part of the text.

Leading 

Truncate the beginning part of the text.


The documentation for this struct was generated from the following file: