Skip to content

raylib.DrawRectangleRoundedLinesEx

JoeStrout edited this page Oct 17, 2026 · 3 revisions

Draw rectangle with rounded edges outline with line thickness

Parameters

Parameter Default Value Note
rec
roundness 0.0
segments 0
thick 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