Text
Emits source-backed text using the same frame snapshot and retained-region ownership as Observe. The caller owns the source; text resolution and wrapping happen on the tree owner thread. The complete modifier chain stays on the actual text node; the transparent region owns the sibling key and delegates parent data.
Literal source overload of Text with the same frame, layout, ownership, and failure contracts.
Source-backed text using an explicit font; nested font selections retain their existing precedence.
Literal source-backed text with an explicit font and the same retained observation contract.
Emits one single-line profile-backed text component.
Receiver
active owner-thread screen scope.
Parameters
unresolved text retained for drawing and semantics.
profile-backed color and shadow policy.
active behavior applied to the text.
optional stable sibling identity.
Throws
when the profile cannot render text.
when no runtime screen evaluation is active.
Emits one literal single-line profile-backed text component.
Receiver
active owner-thread screen scope.
Parameters
literal converted to UiText.Literal.
profile-backed color and shadow policy.
active behavior applied to the text.
optional stable sibling identity.
Throws
when the profile cannot render text.
when no runtime screen evaluation is active.
Emits one single-line text component using an explicitly selected resource-pack font.
The selected font is retained in UiText.WithFont; resource resolution belongs to the active runtime. An inner UiText.WithFont keeps its own selection instead of inheriting font.
Receiver
active owner-thread screen scope.
Parameters
unresolved text retained for drawing and semantics.
structural identifier of the font definition.
profile-backed color and shadow policy.
active behavior applied to the text.
optional stable sibling identity.
Throws
when the profile cannot render text.
when no runtime screen evaluation is active.
Emits one literal single-line text component using an explicitly selected resource-pack font.
Receiver
active owner-thread screen scope.
Parameters
literal converted to UiText.Literal.
structural identifier of the font definition.
profile-backed color and shadow policy.
active behavior applied to the text.
optional stable sibling identity.
Throws
when the profile cannot render text.
when no runtime screen evaluation is active.
Emits one profile-backed text component with an explicit single-line or multiline layout.
Multiline layout interprets supported line separators, wraps only at Unicode scalar boundaries, and retains the complete source for semantics. It changes presentation without editing the supplied text or adding selection and clipboard behavior.
Receiver
active owner-thread screen scope.
Parameters
unresolved text retained for drawing and semantics.
explicit wrapping, line-count, overflow, and line-spacing policy.
profile-backed color and shadow policy.
active layout and behavior applied to the text.
optional stable sibling identity.
Throws
when the active profile cannot render text or the requested layout is incompatible with its constraints.
when no runtime screen evaluation is active.
when the active runtime does not support the requested layout.
Literal overload of Text with the same explicit layout, ownership, and failure contract.
Emits explicitly laid-out text using a selected resource-pack font.
The font is retained in UiText.WithFont; inner font selections retain precedence. Resolution and any glyph resources belong to the active runtime, not this API description.
Receiver
active owner-thread screen scope.
Parameters
unresolved text retained for drawing and semantics.
explicit wrapping, line-count, overflow, and line-spacing policy.
structural identifier of the font definition.
profile-backed color and shadow policy.
active layout and behavior applied to the text.
optional stable sibling identity.
Throws
when the active profile cannot render text or the requested layout is incompatible with its constraints.
when no runtime screen evaluation is active.
when the active runtime does not support the requested layout.
Literal overload of Text with the same explicit layout and font-selection contract.