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 rectangle outline WARNING: All Draw*Lines() functions use RL_LINES for drawing, it implies flushing the current batch and changing draw mode to RL_LINES but it solves another issue: https://github.com/raysan5/raylib/issues/3884
Parameters
Parameter
Default Value
Note
x
0
y
0
width
256
height
256
color
Return value
None.
Notes
Example
// Draw the outline of a rectangleraylib.DrawRectangleLines50, 50, 200, 100, raylib.WHITE