Skip to content

raylib.DrawLineEx

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a line defining thickness

Parameters

Parameter Default Value Note
startPos [0, 0]
endPos [0, 0]
thick 1
color WHITE

Return value

None.

Notes

Example

// Draw a thick diagonal line
raylib.DrawLineEx [50, 50], [250, 200], 4, raylib.BLUE

Clone this wiki locally