Skip to content

raylib.DrawRectangleRoundedLinesEx

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw rectangle with rounded edges outline

Parameters

Parameter Default Value Note
rec
roundness 0.0
segments 0
lineThick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a thick outline of a rounded rectangle
rec = {x:50, y:50, width:200, height:100}
raylib.DrawRectangleRoundedLinesEx rec, 0.3, 12, 3, raylib.YELLOW

Clone this wiki locally