-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ImageText
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Create an image from text (default font)
| Parameter | Default Value | Note |
|---|---|---|
| text | ||
| fontSize | ||
| color |
| Condition | Return Value |
|---|---|
| (always) | map |
img = raylib.ImageText("Hello", 20, raylib.WHITE)
tex = raylib.LoadTextureFromImage(img)
raylib.UnloadImage img
// ... use tex, then unload ...
raylib.UnloadTexture tex