Skip to content

raylib.DrawRectangleV

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Draw a color-filled rectangle given Vector2 position and size

Parameters

Parameter Default Value Note
position [0, 0]
size [256, 256]
color WHITE

Return value

None.

Notes

Example

// Draw a rectangle using Vector2 position and size
raylib.DrawRectangleV [50, 50], [200, 100], raylib.GREEN

Clone this wiki locally