Skip to content

raylib.DrawLineDashed

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a dashed line

Parameters

Parameter Default Value Note
startPos
endPos
dashSize
spaceSize
color WHITE

Return value

None.

Notes

Example

// Draw a dashed line from left to right across the screen
raylib.DrawLineDashed [50, 200], [350, 200], 8, 4, raylib.RED

Clone this wiki locally