Kanzi  3.9.2
Java API
TextBlock3DMetadata Interface Reference

Metadata definitions for TextBlock3D. More...

Inheritance diagram for TextBlock3DMetadata:
[legend]

Public Attributes

DynamicPropertyType< Float > BaselineProperty
 Font baseline in 3D space units. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.TextBlock3D")
 Metaclass for TextBlock3D.
 
DynamicPropertyType< Boolean > TwoPassRenderingProperty
 Defines whether the Text Block 3D is rendered in two passes. More...
 
- Public Attributes inherited from TextConceptMetadata
DynamicPropertyType< ColorRGBAFontColorProperty
 Sets the color of the text. More...
 
DynamicPropertyType< ResourceFontMaterialProperty
 Sets the material whose shader is used to render the text. More...
 
DynamicPropertyType< Vector2HorizontalPaddingProperty
 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 string to be rendered is too long to fit in the 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< Vector2VerticalPaddingProperty
 Sets the padding spaces between the content and the top and bottom boundaries of the Text node. More...
 
- Public Attributes inherited from TextBlockConceptMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.TextBlockConcept")
 Metaclass for TextBlockConcept.
 
DynamicPropertyType< Boolean > WordWrapProperty
 Sets whether to break long lines into multiple lines to make the text fit within the boundaries of the Text Block node. More...
 
- Public Attributes inherited from FontStyleConceptMetadata
DynamicPropertyType< Float > CharacterSpacingProperty
 Sets the character spacing in pixels. More...
 
DynamicPropertyType< Float > FixedCharacterWidthProperty
 When set, overrides the font advance widths to make each character take a fixed amount of space specified in pixels. More...
 
DynamicPropertyType< Integer > FontHintingPreferenceProperty
 Sets the hinting preference of the font. More...
 
DynamicPropertyType< Boolean > FractionalCharacterWidthProperty
 Sets whether Kanzi uses fractional or rounded character widths to lay out text. More...
 
DynamicPropertyType< Float > LineSpacingProperty
 Sets the line spacing in multiples of the normal line height of the selected FontStyleConcept. More...
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.FontStyleConcept")
 Metaclass for FontStyleConcept.
 
DynamicPropertyType< Float > SizeProperty
 Sets the size of the font in pixels. More...
 
DynamicPropertyType< Boolean > SnapCharacterToPixelPropertyProperty
 Sets whether Kanzi positions characters in 2D rendering to the nearest pixel: More...
 
DynamicPropertyType< Integer > StyleProperty
 Sets the style of the FontStyleConcept. More...
 
DynamicPropertyType< Integer > WeightProperty
 Sets the weight of the FontStyleConcept. More...
 

Detailed Description

Metadata definitions for TextBlock3D.

Member Data Documentation

◆ BaselineProperty

DynamicPropertyType<Float> BaselineProperty
Initial value:
=
new DynamicPropertyType<>("TextBlock3D.Baseline", Float.class)

Font baseline in 3D space units.

◆ TwoPassRenderingProperty

DynamicPropertyType<Boolean> TwoPassRenderingProperty
Initial value:
=
new DynamicPropertyType<>("TextBlock3D.TwoPassRendering", Boolean.class)

Defines whether the Text Block 3D is rendered in two passes.

Disabling the two pass rendering improves performance, but can cause invalid rendering results when glyph bounds overlap.