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
·
2 revisions
Draw a gradient-filled rectangle
Parameters
Parameter
Default Value
Note
rec
col1
col2
col3
col4
Return value
None.
Notes
Example
// Draw a rectangle with a different color at each cornerrec= {x:50, y:50, width:200, height:150}
raylib.DrawRectangleGradientExrec, raylib.RED, raylib.BLUE, raylib.GREEN, raylib.YELLOW