Skip to content

raylib.DrawRectangleRoundedLines

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw rectangle with rounded edges

Parameters

Parameter Default Value Note
rec
roundness 0.5
segments 36
color WHITE

Return value

None.

Notes

Example

// Draw the outline of a rounded rectangle
rec = {x:50, y:50, width:200, height:100}
raylib.DrawRectangleRoundedLines rec, 0.3, 12, raylib.WHITE

Clone this wiki locally