-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.DrawRectangleV
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw a color-filled rectangle (Vector version) NOTE: On OpenGL 3.3 and ES2 using QUADS to avoid drawing order issues
| Parameter | Default Value | Note |
|---|---|---|
| position | [0, 0] | |
| size | [256, 256] | |
| color | WHITE |
None.
// Draw a rectangle using Vector2 position and size
raylib.DrawRectangleV [50, 50], [200, 100], raylib.GREEN