You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Nov 16, 2026
·
4 revisions
Draw text using the default font. If fontSize is smaller than the font's base size (10), the base size is used. Character spacing is proportional to fontSize
Parameters
Parameter
Default Value
Note
text
posX
0
posY
0
fontSize
20
color
BLACK
Return value
None.
Notes
Example
// Draw a simple string using the default fontraylib.DrawText"Hello, World!", 100, 200, 24, raylib.WHITE