Skip to content

TextBlockConcept

Class | orca.UIKit | extends TextRun

Shared concept for text rendering in 2D and 3D nodes.

Overview

Properties

Property Type Description
TextResourceID string Resource identifier for localized text lookup.
TextResourceConfiguration string Configuration key used when resolving text resources.
PlaceholderText string Placeholder text displayed when no main text is set.
TextOverflow TextOverflow Defines how overflowing text should be handled.
Placeholder BrushShorthand Brush definition for rendering placeholder text.
UseFullFontHeight bool When true, uses the font's full height for layout calculations.
ConstrainContentHeight bool Constrains the content height to the text's bounding box.
WordWrap bool Enables automatic word wrapping of the text.
TextWrapping TextWrapping Controls text wrapping behavior.
TextHorizontalAlignment TextHorizontalAlignment Horizontal alignment of the text within its bounds.
TextVerticalAlignment TextVerticalAlignment Vertical alignment of the text within its bounds.

Messages

MakeText

Requests the component to lay out and render its text content.

Field Type Description
text ViewText Text view to render
availableSpace uint Available space for text layout