Skip to content

raylib.DrawRectangleLinesEx

JoeStrout edited this page Oct 17, 2026 · 3 revisions

Draw rectangle outline with line thickness

Parameters

Parameter Default Value Note
rec
thick 1
color WHITE

Return value

None.

Notes

Example

// Draw a thick outlined rectangle using a Rectangle map
rec = {x:50, y:50, width:200, height:100}
raylib.DrawRectangleLinesEx rec, 4, raylib.RED

Clone this wiki locally