TextState Type
State required to render 2D text via SpriteBatch.DrawString.
Record fields
| Record Field |
Description
|
Tint color.
|
|
|
The sprite font to use.
|
|
Render layer for ordering.
|
Top-left position on screen (in pixels).
|
|
Full Usage:
Scale
Field type: float32
|
Uniform scale factor applied to the font (1.0 = default size).
|
Full Usage:
Text
Field type: string
|
The text string to draw.
|
Mibo