| Parameter | Description |
|---|---|
| text | The character span to set as the element's text content. |
Sets the text content without allocating a managed string.
Unlike assigning to TextElement.text, this method writes directly into an internal
native buffer and defers string materialization until TextElement.text is read.
A ChangeEvent<T0> of type string is raised only when listeners
for value-change events exist in the element's hierarchy; when no such listeners are
present, the method is fully allocation-free.
| Parameter | Description |
|---|---|
| sourceText | The source character array. |
| start | The starting index in the array. |
| length | The number of characters to copy. |
Sets the text content from a character array slice without allocating a managed string.
| Parameter | Description |
|---|---|
| sb | The Text.StringBuilder whose contents to copy. |
Sets the text content from a Text.StringBuilder without allocating a managed string.
| Parameter | Description |
|---|---|
| value | The float value to display. |
| format | An optional standard or custom numeric format string. |
Formats a float value directly into the text buffer without allocating a managed string.
| Parameter | Description |
|---|---|
| value | The integer value to display. |
Formats an integer value directly into the text buffer without allocating a managed string.