Skip to content

raylib.DrawTextCodepoints

JoeStrout edited this page Nov 16, 2026 · 5 revisions

Draw multiple characters, given as a list of int codepoints or a string

Parameters

Parameter Default Value Note
font
codepoints
position [0, 0]
fontSize 20
spacing 0
tint BLACK

Return value

None.

Notes

Example

// Draw a sequence of codepoints spelling "Hi!"
font = raylib.GetFontDefault
codepoints = [72, 105, 33]  // 'H', 'i', '!'
raylib.DrawTextCodepoints font, codepoints, [100, 200], 32, 2, raylib.GREEN

Clone this wiki locally