Metadata definitions for TextConcept. More...
Public Attributes | |
DynamicPropertyType< ColorRGBA > | FontColorProperty |
Sets the color of the text. More... | |
DynamicPropertyType< Resource > | FontMaterialProperty |
Sets the material whose shader is used to render the text. More... | |
DynamicPropertyType< Boolean > | HorizontalFitProperty |
Whether to horizontally scale the glyphs to make them fit into the Layout Width of the Text Block. More... | |
DynamicPropertyType< Vector2 > | HorizontalFitScaleLimitsProperty |
When the Horizontal Fit property is enabled, sets the minimum and maximum scale for glyphs when the width of text in a Text Block does not match the Layout Width of that Text Block. More... | |
DynamicPropertyType< Vector2 > | HorizontalPaddingProperty |
Sets the padding spaces between the content and the left and right boundaries of the Text node. More... | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.TextConcept") |
Metaclass for TextConcept. | |
DynamicPropertyType< String > | OverflowProperty |
Sets the characters that represent the truncated text when the text does not fit in this node. More... | |
DynamicPropertyType< Boolean > | RemoveSideBearingsProperty |
Whether to position the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the text node. More... | |
DynamicPropertyType< Integer > | TextHorizontalAlignmentProperty |
Sets the horizontal alignment of the text. More... | |
DynamicPropertyType< String > | TextProperty |
Sets the text content that the text node renders. More... | |
DynamicPropertyType< Integer > | TextVerticalAlignmentProperty |
Sets the vertical alignment of the text. More... | |
DynamicPropertyType< Integer > | TruncationDirectionProperty |
Sets which part Kanzi truncates when either the Truncation or Overflow property is set and the text does not fit in this node: More... | |
DynamicPropertyType< Integer > | TruncationProperty |
Sets how Kanzi truncates text when either Truncation or Overflow property is set and the text does not fit in this node: More... | |
DynamicPropertyType< Vector2 > | VerticalPaddingProperty |
Sets the padding spaces between the content and the top and bottom boundaries of the Text node. More... | |
Metadata definitions for TextConcept.
DynamicPropertyType<ColorRGBA> FontColorProperty |
Sets the color of the text.
DynamicPropertyType<Resource> FontMaterialProperty |
Sets the material whose shader is used to render the text.
The shader must use the ContentTexture uniform which is automatically filled with glyph data.
DynamicPropertyType<Boolean> HorizontalFitProperty |
Whether to horizontally scale the glyphs to make them fit into the Layout Width of the Text Block.
To adjust the scale, use the Horizontal Fit Scale Limits property.
DynamicPropertyType<Vector2> HorizontalFitScaleLimitsProperty |
When the Horizontal Fit property is enabled, sets the minimum and maximum scale for glyphs when the width of text in a Text Block does not match the Layout Width of that Text Block.
For example:
DynamicPropertyType<Vector2> HorizontalPaddingProperty |
Sets the padding spaces between the content and the left and right boundaries of the Text node.
DynamicPropertyType<String> OverflowProperty |
Sets the characters that represent the truncated text when the text does not fit in this node.
The default value is '...'. By default, Kanzi truncates the text at the end. Use the Truncation Direction property to set the part of the text that you want to truncate.
DynamicPropertyType<Boolean> RemoveSideBearingsProperty |
Whether to position the leftmost characters of left-aligned text and rightmost characters of right-aligned text exactly within the boundary of the text node.
DynamicPropertyType<Integer> TextHorizontalAlignmentProperty |
Sets the horizontal alignment of the text.
DynamicPropertyType<String> TextProperty |
Sets the text content that the text node renders.
To create a line break press Shift+Enter.
DynamicPropertyType<Integer> TextVerticalAlignmentProperty |
Sets the vertical alignment of the text.
DynamicPropertyType<Integer> TruncationDirectionProperty |
Sets which part Kanzi truncates when either the Truncation or Overflow property is set and the text does not fit in this node:
DynamicPropertyType<Integer> TruncationProperty |
Sets how Kanzi truncates text when either Truncation or Overflow property is set and the text does not fit in this node:
DynamicPropertyType<Vector2> VerticalPaddingProperty |
Sets the padding spaces between the content and the top and bottom boundaries of the Text node.