Skip to content

raylib.DrawRectangleLinesEx

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw rectangle outline with extended parameters

Parameters

Parameter Default Value Note
rec
lineThick 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