GFX.TextPlacement¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The text to place. | String |
||
Output ➡️ |
A sequence of text placement structures. | [{quad: Float4 uv: Float4 texture: GFX.Texture2D codepoint: Int coord: Int2}] |
||
Font |
No | Font to use | none |
Var(Text.FontMap) |
FontSize |
No | The font size to use | 12 |
IntVar(Int) |
Scale |
No | Text scale | 1 |
Float |
VAlign |
No | Vertical alignment of baseline (0 = bottom, 1 = top, -0.5 = centered on baseline) | 1 |
FloatVar(Float) |
Places text and returns the placement structure.