Skip to content

raylib.SetTextLineSpacing

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Set vertical line spacing when drawing with line-breaks

Parameters

Parameter Default Value Note
spacing

Return value

None.

Notes

Example

// Use tighter line spacing before drawing multi-line text
raylib.SetTextLineSpacing 18
raylib.DrawText "Line one\nLine two\nLine three", 50, 100, 20, raylib.WHITE

Clone this wiki locally