-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawRectanglePro
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw a color-filled rectangle with pro parameters
| Parameter | Default Value | Note |
|---|---|---|
| rec | ||
| origin | [0, 0] | |
| rotation | 0 | |
| color | WHITE |
None.
// Draw a rectangle rotated 45 degrees around its center
rec = {x:200, y:200, width:100, height:60}
raylib.DrawRectanglePro rec, [50, 30], 45, raylib.GREEN