Skip to content

raylib.DrawLineV

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a line (using gl lines)

Parameters

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

Return value

None.

Notes

Example

// Draw a line from the top-left to the bottom-right of a region
raylib.DrawLineV [50, 50], [250, 200], raylib.WHITE

Clone this wiki locally