Skip to content

raylib.DrawLineEx

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Draw a line with the given 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