text
Creates one profile-backed text element.
Return
an immutable retained-element description owned by the caller.
Parameters
unresolved text retained for drawing and semantics.
profile color and shadow policy.
active behavior around the element.
optional stable sibling identity.
Creates one profile-backed text element with an explicit line layout.
The default implementation delegates TextLayout.SingleLine to the existing text method and rejects multiline capability. This keeps existing runtime implementations source and binary compatible without silently ignoring a requested layout.
Return
an immutable retained-element description owned by the caller.
Parameters
unresolved text retained for drawing and semantics.
immutable wrapping, line-count, overflow, and line-spacing policy.
profile color and shadow policy.
active behavior around the element.
optional stable sibling identity.
Throws
when multiline layout is requested from a runtime that has not implemented it.