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 Apr 29, 2026
·
3 revisions
Draw text (using default font) NOTE: fontSize work like in any drawing program but if fontSize is lower than font-base-size, then font-base-size is used NOTE: chars 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