-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawTextPro
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Draw text using Font and pro parameters (rotation)
| Parameter | Default Value | Note |
|---|---|---|
| font | ||
| text | ||
| position | [0, 0] | |
| origin | [0, 0] | |
| rotation | 0 | |
| fontSize | 20 | |
| spacing | 0 | |
| tint | BLACK |
None.
// Draw rotated text centered at (200, 150)
font = raylib.GetFontDefault
raylib.DrawTextPro font, "Rotated!", [200, 150], [40, 10], 45, 24, 2, raylib.RED