Skip to content

raylib.DrawTextCodepoint

JoeStrout edited this page Nov 16, 2026 · 4 revisions

Draw one character, given as an int codepoint

Parameters

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

Return value

None.

Notes

Example

// Draw a single character (codepoint 65 = 'A') using the default font
font = raylib.GetFontDefault
raylib.DrawTextCodepoint font, 65, [100, 200], 32, raylib.YELLOW

Clone this wiki locally