static void Text (string text, Rect rect, float size, Color color, TextFlag flags, string font)

Parameters

NameTypeDescription
text string The text to render.
rect Rect Bounding rectangle for text layout, in panel-local coordinates.
size float Font size in pixels.
color Color Text color.
flags = 33 TextFlag Text alignment and layout flags. Defaults to .
font = Roboto string Font family name. Defaults to "Roboto".
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.